diff options
author | Junio C Hamano <junkio@cox.net> | 2005-11-25 16:08:48 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-11-27 01:32:59 -0800 |
commit | 22752e4c43e1bc864eaf1c2c015031a2b5e98a3b (patch) | |
tree | 1dc0816b6c98ef90985d2761f1ab80739e4fbc7d /setup.c | |
parent | 4f629539cd99fb9fc68dbdc56812f291565d0f87 (diff) | |
download | git-22752e4c43e1bc864eaf1c2c015031a2b5e98a3b.tar.gz |
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>
Diffstat (limited to 'setup.c')
-rw-r--r-- | setup.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; } |