Re: [PATCH 13/20] diff-parseopt: convert --no-prefix

2019-03-20 Thread Martin Ågren
On Wed, 20 Mar 2019 at 12:50, Nguyễn Thái Ngọc Duy wrote: > + OPT_CALLBACK_F(0, "no-prefix", options, NULL, > + N_("no not show any source or destination > prefix"), > + PARSE_OPT_NONEG | PARSE_OPT_NOARG, > diff_opt_no_prefi

[PATCH 13/20] diff-parseopt: convert --no-prefix

2019-03-20 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- diff.c | 17 +++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/diff.c b/diff.c index 4ab5b3c06a..045fdbb882 100644 --- a/diff.c +++ b/diff.c @@ -5022,6 +5022,18 @@ static int diff_opt_line_prefix(const struct option *opt,