Browse Source

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>
maint
Junio C Hamano 19 years ago
parent
commit
22752e4c43
  1. 1
      setup.c

1
setup.c

@ -173,5 +173,6 @@ int check_repository_format(void) @@ -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;
}

Loading…
Cancel
Save