aboutsummaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-01-20 14:43:41 -0800
committerJunio C Hamano <gitster@pobox.com>2010-01-20 14:43:41 -0800
commit34349bea60ec9cb3e320175cad9eb01b3054e5c6 (patch)
treea716401563f17bcc6b7b425d03b6226c8984b475 /git.c
parent886932e2816ba8554ba0bf6c2c91fdfa6877dd65 (diff)
parent308162372d0aa202ff45743e02253e20a4fac4d7 (diff)
downloadgit-34349bea60ec9cb3e320175cad9eb01b3054e5c6.tar.gz
git-34349bea60ec9cb3e320175cad9eb01b3054e5c6.tar.xz
Merge branch 'jc/grep-lookahead'
* jc/grep-lookahead: grep --no-index: allow use of "git grep" outside a git repository grep: prepare to run outside of a work tree grep: rip out pessimization to use fixmatch() grep: rip out support for external grep grep: optimize built-in grep by skipping lines that do not hit Conflicts: builtin-grep.c t/t7002-grep.sh
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 11544cdb4..ad074735f 100644
--- a/git.c
+++ b/git.c
@@ -317,7 +317,7 @@ static void handle_internal_command(int argc, const char **argv)
{ "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 | USE_PAGER },
+ { "grep", cmd_grep, USE_PAGER },
{ "help", cmd_help },
{ "init", cmd_init_db },
{ "init-db", cmd_init_db },