summaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authorAndrew Ruder <andy@aeruder.net>2007-07-04 17:21:49 -0500
committerJunio C Hamano <gitster@pobox.com>2007-07-04 21:06:12 -0700
commitd97bc5de929e525add9977a9c1ab3834b8c04657 (patch)
tree8efa0276f0eb3144fb660c3664f349300e479b2d /git.c
parent7730fbe62490f9e6ee33f6136ecd0e75869894e3 (diff)
downloadgit-d97bc5de929e525add9977a9c1ab3834b8c04657.tar.gz
Remove USE_PAGER from git-pickaxe and git-annotate
git-blame (and friends) specifically leave the pager turned off in the case that --incremental is specified as this isn't for human consumption. git-pickaxe and git-annotate will turn it on themselves otherwise. Signed-off-by: Andrew Ruder <andy@aeruder.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git.c')
-rw-r--r--git.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/git.c b/git.c
index 727aabcbbe..a647f9c61e 100644
--- a/git.c
+++ b/git.c
@@ -303,7 +303,7 @@ static void handle_internal_command(int argc, const char **argv)
const char *cmd = argv[0];
static struct cmd_struct commands[] = {
{ "add", cmd_add, RUN_SETUP | NEED_WORK_TREE },
- { "annotate", cmd_annotate, RUN_SETUP | USE_PAGER },
+ { "annotate", cmd_annotate, RUN_SETUP },
{ "apply", cmd_apply },
{ "archive", cmd_archive },
{ "blame", cmd_blame, RUN_SETUP },
@@ -345,7 +345,7 @@ static void handle_internal_command(int argc, const char **argv)
{ "mv", cmd_mv, RUN_SETUP | NEED_WORK_TREE },
{ "name-rev", cmd_name_rev, RUN_SETUP },
{ "pack-objects", cmd_pack_objects, RUN_SETUP },
- { "pickaxe", cmd_blame, RUN_SETUP | USE_PAGER },
+ { "pickaxe", cmd_blame, RUN_SETUP },
{ "prune", cmd_prune, RUN_SETUP },
{ "prune-packed", cmd_prune_packed, RUN_SETUP },
{ "push", cmd_push, RUN_SETUP },