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 <junkio@cox.net>
Junio C Hamano committed
Nov 25, 2005 at 16:08 UTC
22752e4c43e1bc864eaf1c2c015031a2b5e98a3b
1 file changed
+1
setup.c
+1
@@ -173,5 +173,6 @@ int check_repository_format(void)
173
const char *setup_git_directory(void)
174
{
175
const char *retval = setup_git_directory_1();
176
+ check_repository_format();
177
return retval;
178
}