aboutsummaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-08-28 21:19:25 -0700
committerJunio C Hamano <gitster@pobox.com>2011-08-28 21:19:25 -0700
commit67c116bb26b4ee31889e5ee15d6a9d3b7e972b7b (patch)
tree43530142d45ca4e9489abcb76862b2c523c19f4c /git.c
parent2478bd8318c3ad6eceb7b99f01db29499f63b759 (diff)
parent92058e4d3e032714da6d2df5fa1fe2cf612979a5 (diff)
downloadgit-67c116bb26b4ee31889e5ee15d6a9d3b7e972b7b.tar.gz
git-67c116bb26b4ee31889e5ee15d6a9d3b7e972b7b.tar.xz
Merge branch 'jk/pager-with-external-command'
* jk/pager-with-external-command: support pager.* for external commands
Diffstat (limited to 'git.c')
-rw-r--r--git.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/git.c b/git.c
index b660e3666..8e34903a6 100644
--- a/git.c
+++ b/git.c
@@ -473,6 +473,8 @@ static void execv_dashed_external(const char **argv)
const char *tmp;
int status;
+ if (use_pager == -1)
+ use_pager = check_pager_config(argv[0]);
commit_pager_choice();
strbuf_addf(&cmd, "git-%s", argv[0]);