]> git.ipfire.org Git - thirdparty/git.git/blobdiff - git.c
Merge branch 'ab/pager-exit-log'
[thirdparty/git.git] / git.c
diff --git a/git.c b/git.c
index b5f63d346b6072e6334cc495022d8a1de2a4e42a..9bc077a025cba4c5b3628b0eabb4d3aac0f35c63 100644 (file)
--- a/git.c
+++ b/git.c
@@ -423,7 +423,7 @@ static int run_builtin(struct cmd_struct *p, int argc, const char **argv)
                        int nongit_ok;
                        prefix = setup_git_directory_gently(&nongit_ok);
                }
-
+               prefix = precompose_argv_prefix(argc, argv, prefix);
                if (use_pager == -1 && p->option & (RUN_SETUP | RUN_SETUP_GENTLY) &&
                    !(p->option & DELAY_PAGER_CONFIG))
                        use_pager = check_pager_config(p->cmd);