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 <bart@jukie.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Bart Trojanowski committed
Apr 23, 2008 at 20:57 UTC
c8af1de9cfa0a5678ae766777e0f905e60b69fda
1 file changed
+1
-1
git.c
+1
-1
@@ -347,7 +347,7 @@ static void handle_internal_command(int argc, const char **argv)
347
{ "shortlog", cmd_shortlog, USE_PAGER },
348
{ "show-branch", cmd_show_branch, RUN_SETUP },
349
{ "show", cmd_show, RUN_SETUP | USE_PAGER },
350
- { "status", cmd_status, RUN_SETUP | NEED_WORK_TREE },
350
+ { "status", cmd_status, RUN_SETUP | NEED_WORK_TREE | USE_PAGER },
351
{ "stripspace", cmd_stripspace },
352
{ "symbolic-ref", cmd_symbolic_ref, RUN_SETUP },
353
{ "tag", cmd_tag, RUN_SETUP },