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>
Andrew Ruder committed
Jul 4, 2007 at 17:21 UTC
d97bc5de929e525add9977a9c1ab3834b8c04657
1 file changed
+2
-2
git.c
+2
-2
@@ -303,7 +303,7 @@ static void handle_internal_command(int argc, const char **argv)
303
const char *cmd = argv[0];
304
static struct cmd_struct commands[] = {
305
{ "add", cmd_add, RUN_SETUP | NEED_WORK_TREE },
306
- { "annotate", cmd_annotate, RUN_SETUP | USE_PAGER },
306
+ { "annotate", cmd_annotate, RUN_SETUP },
307
{ "apply", cmd_apply },
308
{ "archive", cmd_archive },
309
{ "blame", cmd_blame, RUN_SETUP },
@@ -345,7 +345,7 @@ static void handle_internal_command(int argc, const char **argv)
345
{ "mv", cmd_mv, RUN_SETUP | NEED_WORK_TREE },
346
{ "name-rev", cmd_name_rev, RUN_SETUP },
347
{ "pack-objects", cmd_pack_objects, RUN_SETUP },
348
- { "pickaxe", cmd_blame, RUN_SETUP | USE_PAGER },
348
+ { "pickaxe", cmd_blame, RUN_SETUP },
349
{ "prune", cmd_prune, RUN_SETUP },
350
{ "prune-packed", cmd_prune_packed, RUN_SETUP },
351
{ "push", cmd_push, RUN_SETUP },