aboutsummaryrefslogtreecommitdiff
path: root/diff.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2007-12-13 14:24:18 -0800
committerJunio C Hamano <gitster@pobox.com>2007-12-13 23:04:26 -0800
commit913b45f51b151d8e29f86df67d3e10853d831470 (patch)
tree8c081b6a2a505d3c202a200c71aab055d4f24e4f /diff.c
parentc279d7e9869740a6d64b0d1d70f7968af68d2071 (diff)
downloadgit-913b45f51b151d8e29f86df67d3e10853d831470.tar.gz
git-913b45f51b151d8e29f86df67d3e10853d831470.tar.xz
xdi_diff: trim common trailing lines
This implements earlier Linus's optimization to trim common lines at the end before passing them down to low level xdiff interface for all of our xdiff users. We could later enhance this to also trim common leading lines, but that would need tweaking the output function to add the number of lines trimmed at the beginning to line numbers that appear in the hunk headers. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff.c')
0 files changed, 0 insertions, 0 deletions