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 /builtin | |
parent | Merge branch 'jk/use-oid-pos' (diff) | |
parent | grep/log: remove hidden --debug and --grep-debug options (diff) | |
download | tgif-c9f94ab4fa42c3fce6c8fa04bb850f73e7f1cd54.tar.xz |
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 'builtin')
-rw-r--r-- | builtin/grep.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/builtin/grep.c b/builtin/grep.c index ca259af441..55d06c9513 100644 --- a/builtin/grep.c +++ b/builtin/grep.c @@ -216,8 +216,6 @@ static void start_threads(struct grep_opt *opt) int err; struct grep_opt *o = grep_opt_dup(opt); o->output = strbuf_out; - if (i) - o->debug = 0; compile_grep_patterns(o); err = pthread_create(&threads[i], NULL, run, o); @@ -936,9 +934,6 @@ int cmd_grep(int argc, const char **argv, const char *prefix) N_("indicate hit with exit status without output")), OPT_BOOL(0, "all-match", &opt.all_match, N_("show only matches from files that match all patterns")), - OPT_SET_INT_F(0, "debug", &opt.debug, - N_("show parse tree for grep expression"), - 1, PARSE_OPT_HIDDEN), OPT_GROUP(""), { OPTION_STRING, 'O', "open-files-in-pager", &show_in_pager, N_("pager"), N_("show matching files in the pager"), |