Code

Re-re-re-fix common tail optimization
authorJunio C Hamano <gitster@pobox.com>
Sun, 16 Dec 2007 21:49:17 +0000 (13:49 -0800)
committerJunio C Hamano <gitster@pobox.com>
Sun, 16 Dec 2007 22:00:30 +0000 (14:00 -0800)
commit079fe1dae8504c988c50ce41eba78743d3f588e0
tree540262f8d88313124fb3faef6c57ad652e791491
parent127f72e6897d6671725dc13db42ab5ee1d086721
Re-re-re-fix common tail optimization

We need to be extra careful recovering the removed common section, so
that we do not break context nor the changed incomplete line (i.e. the
last line that does not end with LF).

Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t4024-diff-optimize-common.sh [new file with mode: 0755]
xdiff-interface.c