Re: [PATCH v3 10/21] diff-parseopt: convert --stat*

2019-02-20 Thread Junio C Hamano
Nguyễn Thái Ngọc Duy writes: > -static int stat_opt(struct diff_options *options, const char **av) > +static int diff_opt_stat(const struct option *opt, const char *value, int > unset) > { > - const char *arg = av[0]; > - char *end; > + struct diff_options *options = opt->value; >

[PATCH v3 10/21] diff-parseopt: convert --stat*

2019-02-16 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy Signed-off-by: Junio C Hamano --- diff.c | 118 + 1 file changed, 52 insertions(+), 66 deletions(-) diff --git a/diff.c b/diff.c index 9c8f5336bc..1feb13deb3 100644 --- a/diff.c +++ b/diff.c @@ -104,11 +