From: Johannes Schindelin Date: Mon, 19 Feb 2007 14:56:04 +0000 (+0100) Subject: git grep: use pager X-Git-Tag: v1.5.1-rc1~268 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=34c6a82b8afca18eab28eeca659e29db0faabc62;p=git.git git grep: use pager Signed-off-by: Johannes Schindelin Signed-off-by: Junio C Hamano --- 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 },