Re: [PATCH 1/3] diff: export diffstat interface

2017-05-05 Thread Johannes Schindelin
Hi Daniel, On Fri, 5 May 2017, Daniel Ferreira wrote: > Make the diffstat interface (namely, the diffstat_t struct and > diff_flush_stat) 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 > fr

[PATCH 1/3] diff: export diffstat interface

2017-05-05 Thread Daniel Ferreira
Make the diffstat interface (namely, the diffstat_t struct and diff_flush_stat) 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 fro