From: Bart Trojanowski Date: Thu, 24 Apr 2008 00:57:48 +0000 (-0400) Subject: make git-status use a pager X-Git-Tag: v1.5.6-rc0~115 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c8af1de9cfa0a5678ae766777e0f905e60b69fda;p=git.git 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 --- 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 },