X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=diff.c;h=2db2cc568dae9e94f56343cb1c900a2da195c9d0;hb=d01d8c6782850c18d62676dae3c72ad73be1e52e;hp=e496905bad9853f912e1bbcc081c544524f8cb77;hpb=810e1523753553968aac827f57e0e24fc9af6546;p=git.git diff --git a/diff.c b/diff.c index e496905b..2db2cc56 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)