From c8af1de9cfa0a5678ae766777e0f905e60b69fda Mon Sep 17 00:00:00 2001 From: Bart Trojanowski Date: Wed, 23 Apr 2008 20:57:48 -0400 Subject: [PATCH] make git-status use a pager make git status act similar to git log and git diff by presenting long output in a pager. Signed-off-by: Bart Trojanowski 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 c4e4644b3..89b431fa2 100644 --- a/git.c +++ b/git.c @@ -347,7 +347,7 @@ static void handle_internal_command(int argc, const char **argv) { "shortlog", cmd_shortlog, USE_PAGER }, { "show-branch", cmd_show_branch, RUN_SETUP }, { "show", cmd_show, RUN_SETUP | USE_PAGER }, - { "status", cmd_status, RUN_SETUP | NEED_WORK_TREE }, + { "status", cmd_status, RUN_SETUP | NEED_WORK_TREE | USE_PAGER }, { "stripspace", cmd_stripspace }, { "symbolic-ref", cmd_symbolic_ref, RUN_SETUP }, { "tag", cmd_tag, RUN_SETUP }, -- 2.45.2