aboutsummaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authorBart Trojanowski <bart@jukie.net>2008-04-23 20:57:48 -0400
committerJunio C Hamano <gitster@pobox.com>2008-04-29 23:11:57 -0700
commitc8af1de9cfa0a5678ae766777e0f905e60b69fda (patch)
tree38e08d27aee360ec646ccf8636c358851827a87a /git.c
parent68951af30c2ac7f74f0d794a8674ac320a84250a (diff)
downloadgit-c8af1de9cfa0a5678ae766777e0f905e60b69fda.tar.gz
git-c8af1de9cfa0a5678ae766777e0f905e60b69fda.tar.xz
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>
Diffstat (limited to 'git.c')
-rw-r--r--git.c2
1 files changed, 1 insertions, 1 deletions
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 },