Re: [PATCH v2 06/14] apply: only pass required data to gitdiff_* functions

2019-07-05 Thread Johannes Schindelin
Hi Thomas, On Fri, 5 Jul 2019, Thomas Gummerer wrote: > Currently the 'gitdiff_*()' functions take 'struct apply_state' as > parameter, even though they only needs the root, linenr and p_value > from that struct. > > These functions are in the callchain of 'parse_git_header()', which we > want to

[PATCH v2 06/14] apply: only pass required data to gitdiff_* functions

2019-07-05 Thread Thomas Gummerer
Currently the 'gitdiff_*()' functions take 'struct apply_state' as parameter, even though they only needs the root, linenr and p_value from that struct. These functions are in the callchain of 'parse_git_header()', which we want to make more generally useful in a subsequent commit. To make that h