Re: [PATCH 2/3] diff: omit found pointer from emit_callback

2016-09-08 Thread Junio C Hamano
Stefan Beller writes: > diff --git a/diff.c b/diff.c > index 4a6501c..79ad91d 100644 > --- a/diff.c > +++ b/diff.c > @@ -354,7 +354,6 @@ struct emit_callback { > const char **label_path; > struct diff_words_data *diff_words; > struct diff_options *opt; > - int *found_changes

[PATCH 2/3] diff: omit found pointer from emit_callback

2016-09-07 Thread Stefan Beller
We keep the actual data in the diff options, which are just as accessible. Remove the pointer stored in struct emit_callback for readability. Signed-off-by: Stefan Beller --- diff.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/diff.c b/diff.c index 4a6501c..79ad91d 100