diff options
author | Bart Trojanowski <bart@jukie.net> | 2008-04-23 20:57:48 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-04-29 23:11:57 -0700 |
commit | c8af1de9cfa0a5678ae766777e0f905e60b69fda (patch) | |
tree | 38e08d27aee360ec646ccf8636c358851827a87a /git.c | |
parent | 68951af30c2ac7f74f0d794a8674ac320a84250a (diff) | |
download | git-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 }, |