From 34c6a82b8afca18eab28eeca659e29db0faabc62 Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Mon, 19 Feb 2007 15:56:04 +0100 Subject: [PATCH] git grep: use pager Signed-off-by: Johannes Schindelin Signed-off-by: Junio C Hamano --- git.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }, -- 2.26.2