diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-02-10 14:48:31 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-02-10 14:48:31 -0800 |
commit | c9f94ab4fa42c3fce6c8fa04bb850f73e7f1cd54 (patch) | |
tree | 38b2201c5638f8cad26a0b09239b2dc2eebaf40b /revision.c | |
parent | 9d5b1c06ac1e46e985b5d62bccb78d9fb6de374a (diff) | |
parent | 15c9649730df7f2bccc38553b7e812505de5c110 (diff) | |
download | git-c9f94ab4fa42c3fce6c8fa04bb850f73e7f1cd54.tar.gz |
Merge branch 'ab/lose-grep-debug'
Lose the debugging aid that may have been useful in the past, but
no longer is, in the "grep" codepaths.
* ab/lose-grep-debug:
grep/log: remove hidden --debug and --grep-debug options
Diffstat (limited to 'revision.c')
-rw-r--r-- | revision.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/revision.c b/revision.c index c7a0e8d3d7..3efd994160 100644 --- a/revision.c +++ b/revision.c @@ -2465,8 +2465,6 @@ static int handle_revision_opt(struct rev_info *revs, int argc, const char **arg } else if ((argcount = parse_long_opt("grep", argv, &optarg))) { add_message_grep(revs, optarg); return argcount; - } else if (!strcmp(arg, "--grep-debug")) { - revs->grep_filter.debug = 1; } else if (!strcmp(arg, "--basic-regexp")) { revs->grep_filter.pattern_type_option = GREP_PATTERN_TYPE_BRE; } else if (!strcmp(arg, "--extended-regexp") || !strcmp(arg, "-E")) { |