aboutsummaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>2007-02-19 15:56:04 +0100
committerJunio C Hamano <junkio@cox.net>2007-02-20 22:44:35 -0800
commit34c6a82b8afca18eab28eeca659e29db0faabc62 (patch)
tree2204153226acbaa04a7d273c11c46d8d5b1312a6 /git.c
parent4b22f634a3f1752d98e1fc5eee4fa7ce0efe157c (diff)
downloadgit-34c6a82b8afca18eab28eeca659e29db0faabc62.tar.gz
git-34c6a82b8afca18eab28eeca659e29db0faabc62.tar.xz
git grep: use pager
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de> Signed-off-by: Junio C Hamano <junkio@cox.net>
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 1fad85206..83f3d90ee 100644
--- a/git.c
+++ b/git.c
@@ -247,7 +247,7 @@ static void handle_internal_command(int argc, const char **argv, char **envp)
{ "fsck", cmd_fsck, RUN_SETUP },
{ "fsck-objects", cmd_fsck, RUN_SETUP },
{ "get-tar-commit-id", cmd_get_tar_commit_id },
- { "grep", cmd_grep, RUN_SETUP },
+ { "grep", cmd_grep, RUN_SETUP | USE_PAGER },
{ "help", cmd_help },
{ "init", cmd_init_db },
{ "init-db", cmd_init_db },