threads / patch / 8262

patchRemove USE_PAGER from git-pickaxe

Subject: [PATCH] Remove USE_PAGER from git-pickaxe

## tl;dr

One message between May 21, 2007 and May 21, 2007. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Andrew Ruder· May 21, 2007, 03:44 UTC · lore

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 will turn it on itself otherwise.

Signed-off-by: Andrew Ruder <andy@aeruder.net>
---
 git.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Show changes to git.c +1 −1
diff --git a/git.c b/git.c
index eeb2c0c..2f25807 100644
--- a/git.c
+++ b/git.c
@@ -267,7 +267,7 @@ static void handle_internal_command(int argc, const char **argv, char **envp)
 		{ "mv", cmd_mv, RUN_SETUP | NOT_BARE },
 		{ "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 },
-- 
1.5.2.15.g56fe-dirty

← back to recent threads