summaryrefslogtreecommitdiff
path: root/builtin/blame.c
diff options
context:
space:
mode:
authorEric Sunshine <sunshine@sunshineco.com>2013-07-31 08:15:37 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-08-05 18:54:31 (GMT)
commita8fa8eca3f38ab89ad116575d0a5c47cdd03a7e9 (patch)
treec5a97c394626139fa9e2852a3439012aeb785609 /builtin/blame.c
parent580b4f3acf076f5f3346206d3c54912ffc663d86 (diff)
downloadgit-a8fa8eca3f38ab89ad116575d0a5c47cdd03a7e9.zip
git-a8fa8eca3f38ab89ad116575d0a5c47cdd03a7e9.tar.gz
git-a8fa8eca3f38ab89ad116575d0a5c47cdd03a7e9.tar.bz2
t8001/t8002: blame: add empty file & partial-line tests
Add boundary case tests, with and without -L, for empty file; file with one partial line; file with one full line. The empty file test without -L is of particular interest. Historically, this case has been supported (empty blame output) and this test protects against regression by a subsequent patch fixing an off-by-one bug which incorrectly accepts -LX where X is one past end-of-file. Signed-off-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/blame.c')
0 files changed, 0 insertions, 0 deletions