summaryrefslogtreecommitdiff
path: root/t/t4022-diff-rewrite.sh
diff options
context:
space:
mode:
authorLibravatar Eric Sunshine <sunshine@sunshineco.com>2013-07-31 04:15:41 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-08-05 11:54:32 -0700
commit63828b844d17d66d18c19375c559ab8678693f97 (patch)
treea7b4bf873403ab35a64ca165d5894dcc98168d77 /t/t4022-diff-rewrite.sh
parentt4211: retire soon-to-be unimplementable tests (diff)
downloadtgif-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/t4022-diff-rewrite.sh')
0 files changed, 0 insertions, 0 deletions