summaryrefslogtreecommitdiff
path: root/t/t8003-blame-corner-cases.sh
diff options
context:
space:
mode:
authorLibravatar Stefan Beller <sbeller@google.com>2016-09-07 16:36:48 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-09-08 13:54:37 -0700
commitca9b37e5a8a76b7b5c9990481ce4f9894dd40392 (patch)
treee1b253742f896401d14282972c234be316d654f6 /t/t8003-blame-corner-cases.sh
parentdiff: omit found pointer from emit_callback (diff)
downloadtgif-ca9b37e5a8a76b7b5c9990481ce4f9894dd40392.tar.xz
diff: remove dead code
When `len < 1`, len has to be 0 or negative, emit_line will then remove the first character and by then `len` would be negative. As this doesn't happen, it is safe to assume it is dead code. This continues to simplify the code, which was started in b8d9c1a66b (2009-09-03, diff.c: the builtin_diff() deals with only two-file comparison). Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t8003-blame-corner-cases.sh')
0 files changed, 0 insertions, 0 deletions