summaryrefslogtreecommitdiffstats
path: root/range-diff.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2018-11-02 07:39:03 +0100
committerJunio C Hamano <gitster@pobox.com>2018-11-05 05:14:35 +0100
commit75ab76306cb97b223b29e9460a9589cfd099213e (patch)
treef41fbc4fa3d168221bca6522003e82fc157d1b92 /range-diff.c
parentcombine-diff: use an xdiff hunk callback (diff)
downloadgit-75ab76306cb97b223b29e9460a9589cfd099213e.tar.xz
git-75ab76306cb97b223b29e9460a9589cfd099213e.zip
diff: convert --check to use a hunk callback
The "diff --check" code needs to know the line number on which each hunk starts in order to generate its output. We get that now by parsing the hunk header line generated by xdiff, but it's much simpler to just pass it directly using a hunk callback. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'range-diff.c')
0 files changed, 0 insertions, 0 deletions