From 22752e4c43e1bc864eaf1c2c015031a2b5e98a3b Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Fri, 25 Nov 2005 16:08:48 -0800 Subject: [PATCH] setup_git_directory(): check repository format version. After figuring out the GIT_DIR location, make sure the repository is of the right vintage, by calling check_repository_format(). . Signed-off-by: Junio C Hamano --- setup.c | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.c b/setup.c index 0e2e3c8c..cc44a724 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; } -- 2.11.0