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:
authorDaniel Ferreira <bnmvco@gmail.com>2019-11-13 15:40:58 +0300
committerJunio C Hamano <gitster@pobox.com>2019-11-14 05:10:04 +0300
commite4cb659ebdd7c21976f9088226cbcc96acaa1dff (patch)
treea32386e21485a6ced3c2475748eabb6f207d4cc7 /LGPL-2.1
parentf83dff60a7880f1abfc3dc3c6b8e2972c4889da5 (diff)
diff: export diffstat interface
Make the diffstat interface (namely, the diffstat_t struct and compute_diffstat) no longer be internal to diff.c and allow it to be used by other parts of git. This is helpful for code that may want to easily extract information from files using the diff machinery, while flushing it differently from how the show_* functions used by diff_flush() do it. One example is the builtin implementation of git-add--interactive's status. Signed-off-by: Daniel Ferreira <bnmvco@gmail.com> Signed-off-by: Slavica Đukić <slawica92@hotmail.com> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'LGPL-2.1')
0 files changed, 0 insertions, 0 deletions