summaryrefslogtreecommitdiff
path: root/contrib/git-shell-commands
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2018-11-02 02:39:03 -0400
committerJunio C Hamano <gitster@pobox.com>2018-11-05 13:14:35 +0900
commit75ab76306cb97b223b29e9460a9589cfd099213e (patch)
treef41fbc4fa3d168221bca6522003e82fc157d1b92 /contrib/git-shell-commands
parent0074c9110db6b8cddc9950f94f69d143379b25ed (diff)
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 'contrib/git-shell-commands')
0 files changed, 0 insertions, 0 deletions