X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=diff.c;h=ce98a90805f881fa9ef161448af22e859db0d93d;hb=9b6891f651ad51913419ee9184280a321b41e9ce;hp=fe4664c53cbfb6cfc6c2132bced61fddc262a6ee;hpb=34c5a9e284c88d415559586b79487411ece6f69c;p=git.git diff --git a/diff.c b/diff.c index fe4664c5..ce98a908 100644 --- a/diff.c +++ b/diff.c @@ -883,6 +883,8 @@ int diff_opt_parse(struct diff_options *options, const char **av, int ac) options->filter = arg + 14; else if (!strcmp(arg, "--pickaxe-all")) options->pickaxe_opts = DIFF_PICKAXE_ALL; + else if (!strcmp(arg, "--pickaxe-regex")) + options->pickaxe_opts = DIFF_PICKAXE_REGEX; else if (!strncmp(arg, "-B", 2)) { if ((options->break_opt = diff_scoreopt_parse(arg)) == -1)