istephens@xxxxxxxxxxxxx writes: > From: Isabella Stephens <istephens@xxxxxxxxxxxxx> > > If the -L option is used to specify a line range in git log, and the end > of the range is past the end of the file, git will fail with a fatal > error. This commit prevents such behaviour - instead we perform the log > for existing lines within the specified range. > > This commit also fixes a corner case where -L ,-n:file would be treated > as a log over the whole file. Now we treat this as -L 1,-n:file and > blame the first line of the file instead. > > Signed-off-by: Isabella Stephens <istephens@xxxxxxxxxxxxx> > --- > line-log.c | 8 +++++--- > t/t4211-line-log.sh | 5 ++--- > 2 files changed, 7 insertions(+), 6 deletions(-) Thanks. Will queue.