Re: [PATCH] blame: prevent error if range ends past end of file

2018-05-30 Thread Isabella Stephens
On 30/5/18 6:45 pm, Eric Sunshine wrote: >> diff --git a/Documentation/git-blame.txt b/Documentation/git-blame.txt >> @@ -152,6 +152,16 @@ Also you can use a regular expression to specify the >> line range: >> which limits the annotation to the body of the `hello` subroutine. >> >> +A range that

Re: [PATCH] blame: prevent error if range ends past end of file

2018-05-30 Thread Eric Sunshine
On Tue, May 29, 2018 at 1:30 AM, wrote: > If the -L option is used to specify a line range in git blame, and the > end of the range is past the end of the file, git will fail with a fatal > error. This commit prevents such behavior - instead we display the blame > for existing lines within the

[PATCH] blame: prevent error if range ends past end of file

2018-05-28 Thread istephens
From: Isabella Stephens If the -L option is used to specify a line range in git blame, and the end of the range is past the end of the file, git will fail with a fatal error. This commit prevents such behavior - instead we display the blame for existing lines within the specified range. Tests