Merge branch 'jc/maint-name-rev-all' into maint
[gitweb.git] / git.c
diff --git a/git.c b/git.c
index b660e36660a1fa836a7d0f71a6443bb0b530d644..8e34903a65c8775b19b993d3e9ddf47c23d5254e 100644 (file)
--- 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]);