summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--setup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/setup.c b/setup.c
index 0e2e3c8c3c..cc44a724bf 100644
--- a/setup.c
+++ b/setup.c
@@ -173,5 +173,6 @@ int check_repository_format(void)
const char *setup_git_directory(void)
{
const char *retval = setup_git_directory_1();
+ check_repository_format();
return retval;
}