Code

test: errors preparing for a test are not special
[git.git] / git.c
diff --git a/git.c b/git.c
index 89721d420a09bfc8eb6a2d4010f86f5685cfd255..bb5205e4dd1dfcacc9a02cb53b48d7b7548391c2 100644 (file)
--- a/git.c
+++ b/git.c
@@ -467,6 +467,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]);