diff options
author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | 2007-02-19 15:56:04 +0100 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-02-20 22:44:35 -0800 |
commit | 34c6a82b8afca18eab28eeca659e29db0faabc62 (patch) | |
tree | 2204153226acbaa04a7d273c11c46d8d5b1312a6 /git.c | |
parent | 4b22f634a3f1752d98e1fc5eee4fa7ce0efe157c (diff) | |
download | git-34c6a82b8afca18eab28eeca659e29db0faabc62.tar.gz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 }, |