X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=git.c;h=8e34903a65c8775b19b993d3e9ddf47c23d5254e;hb=1e501a7c47ad5ada53d3b1acfb9f131f76e969ec;hp=b660e36660a1fa836a7d0f71a6443bb0b530d644;hpb=52457205a2301d66848fd965c928bc4e0360e2aa;p=git.git 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]);