diff options
author | Eric Sunshine <sunshine@sunshineco.com> | 2013-07-31 04:15:41 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-08-05 11:54:32 -0700 |
commit | 63828b844d17d66d18c19375c559ab8678693f97 (patch) | |
tree | a7b4bf873403ab35a64ca165d5894dcc98168d77 /t/t4204-patch-id.sh | |
parent | t4211: retire soon-to-be unimplementable tests (diff) | |
download | tgif-63828b844d17d66d18c19375c559ab8678693f97.tar.xz |
log: fix -L bounds checking bug
When 12da1d1f added -L support to git-log, a broken bounds check was
copied from git-blame -L which incorrectly allows -LX to extend one line
past end of file without reporting an error. Instead, it generates an
empty range. Fix this bug.
Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4204-patch-id.sh')
0 files changed, 0 insertions, 0 deletions