summaryrefslogtreecommitdiff
path: root/ws.c
diff options
context:
space:
mode:
authorLibravatar Eric Sunshine <sunshine@sunshineco.com>2013-07-31 04:15:37 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-08-05 11:54:31 -0700
commita8fa8eca3f38ab89ad116575d0a5c47cdd03a7e9 (patch)
treec5a97c394626139fa9e2852a3439012aeb785609 /ws.c
parentt8001/t8002: blame: demonstrate -L bounds checking bug (diff)
downloadtgif-a8fa8eca3f38ab89ad116575d0a5c47cdd03a7e9.tar.xz
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 'ws.c')
0 files changed, 0 insertions, 0 deletions