aboutsummaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authorBrandon Williams <bmwill@google.com>2017-08-02 12:49:23 -0700
committerJunio C Hamano <gitster@pobox.com>2017-08-02 14:26:46 -0700
commitf9ee2fcdfa05586b6a4476c7aa5f4f0162e48455 (patch)
tree3e637813d4848a832c73b8839a0d85e0a527ae21 /git.c
parent2184d4ba0cb86a7f40153cd46b03d3fa75b247d9 (diff)
downloadgit-f9ee2fcdfa05586b6a4476c7aa5f4f0162e48455.tar.gz
git-f9ee2fcdfa05586b6a4476c7aa5f4f0162e48455.tar.xz
grep: recurse in-process using 'struct repository'
Convert grep to use 'struct repository' which enables recursing into submodules to be handled in-process. Signed-off-by: Brandon Williams <bmwill@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git.c')
-rw-r--r--git.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/git.c b/git.c
index 489aab4d8..9dd9aead6 100644
--- a/git.c
+++ b/git.c
@@ -392,7 +392,7 @@ static struct cmd_struct commands[] = {
{ "fsck-objects", cmd_fsck, RUN_SETUP },
{ "gc", cmd_gc, RUN_SETUP },
{ "get-tar-commit-id", cmd_get_tar_commit_id },
- { "grep", cmd_grep, RUN_SETUP_GENTLY | SUPPORT_SUPER_PREFIX },
+ { "grep", cmd_grep, RUN_SETUP_GENTLY },
{ "hash-object", cmd_hash_object },
{ "help", cmd_help },
{ "index-pack", cmd_index_pack, RUN_SETUP_GENTLY },