summaryrefslogtreecommitdiff
path: root/t/perf/p0005-status.sh
diff options
context:
space:
mode:
authorLibravatar Phillip Wood <phillip.wood@dunelm.org.uk>2018-03-05 10:56:29 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-03-05 10:45:41 -0800
commitb3e0fcfe429204ccdf1f6977c55127171d65a8e5 (patch)
treee06dcb66e45993aa3e2c0bc775ce1826f8b85331 /t/perf/p0005-status.sh
parentadd -p: calculate offset delta for edited patches (diff)
downloadtgif-b3e0fcfe429204ccdf1f6977c55127171d65a8e5.tar.xz
add -p: fix counting when splitting and coalescing
When a file has no trailing new line at the end diff records this by appending "\ No newline at end of file" below the last line of the file. This line should not be counted in the hunk header. Fix the splitting and coalescing code to count files without a trailing new line properly and change one of the tests to test splitting without a trailing new line. Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/perf/p0005-status.sh')
0 files changed, 0 insertions, 0 deletions