diff options
author | Daniel Ferreira <bnmvco@gmail.com> | 2019-11-13 12:40:58 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-11-14 11:10:04 +0900 |
commit | e4cb659ebdd7c21976f9088226cbcc96acaa1dff (patch) | |
tree | a32386e21485a6ced3c2475748eabb6f207d4cc7 /mem-pool.c | |
parent | f83dff60a7880f1abfc3dc3c6b8e2972c4889da5 (diff) | |
download | git-e4cb659ebdd7c21976f9088226cbcc96acaa1dff.tar.gz |
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 'mem-pool.c')
0 files changed, 0 insertions, 0 deletions