Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2018-11-02 09:39:40 +0300
committerJunio C Hamano <gitster@pobox.com>2018-11-05 07:14:35 +0300
commitd2eb80935a4e93cd775b5e8dc3f07fa1cd21d330 (patch)
tree1b0e3d7c9a93107e978c3a7a2eacfed8316612b5 /xdiff-interface.h
parent75ab76306cb97b223b29e9460a9589cfd099213e (diff)
range-diff: use a hunk callback
When we count the lines in a diff, we don't actually care about the contents of each line. By using a hunk callback, we tell xdiff that it does not need to even bother generating a hunk header line, saving a small amount of work. Arguably we could even ignore the hunk headers completely, since we're just computing a cost function between patches. But doing it this way maintains the exact same behavior before and after. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'xdiff-interface.h')
0 files changed, 0 insertions, 0 deletions