Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
setup_git_directory(): check repository format version.
author
Junio C Hamano
<junkio@cox.net>
Sat, 26 Nov 2005 00:08:48 +0000
(16:08 -0800)
committer
Junio C Hamano
<junkio@cox.net>
Sun, 27 Nov 2005 09:32:59 +0000
(
01:32
-0800)
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>
setup.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(from parent 1:
4f62953
)
diff --git
a/setup.c
b/setup.c
index 0e2e3c8c3c49ccf2aaac6c9569e8260eafbbd491..cc44a724bf3220de1cb8a3ef818e581905d7265c 100644
(file)
--- 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;
}