diff options
author | Jeff King <peff@peff.net> | 2018-11-02 02:39:03 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-11-05 13:14:35 +0900 |
commit | 75ab76306cb97b223b29e9460a9589cfd099213e (patch) | |
tree | f41fbc4fa3d168221bca6522003e82fc157d1b92 /t/chainlint/negated-one-liner.test | |
parent | combine-diff: use an xdiff hunk callback (diff) | |
download | tgif-75ab76306cb97b223b29e9460a9589cfd099213e.tar.xz |
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 't/chainlint/negated-one-liner.test')
0 files changed, 0 insertions, 0 deletions