index 0409ac9fd3f1ea36680189e07116e58b2630ccad..6793178210db64ae59d3a4d401f32d6d3bd5b1a1 100644 (file)
--- a/git.c
+++ b/git.c
use_pager = check_pager_config(p->cmd);
if (use_pager == -1 && p->option & USE_PAGER)
use_pager = 1;
+
+ if ((p->option & (RUN_SETUP | RUN_SETUP_GENTLY)) &&
+ startup_info->have_repository) /* get_git_dir() may set up repo, avoid that */
+ trace_repo_setup(prefix);
}
commit_pager_choice();