[PATCH 4/4] setup_git_directory(): check repository format version.
- From
Junio C Hamano <junkio@cox.net>
- Date
- Nov 26, 2005, 01:15 UTC
- Message-ID
- <7v1x14gqfw.fsf@assigned-by-dhcp.cox.net>
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 | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
applies-to: 780a67370b48b5230c31092b613533a109eb57f8 f30efdb616487d90c037c6d0c4088e151b960016
diff --git a/setup.c b/setup.c index 0e2e3c8..cc44a72 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; } --- 0.99.9.GIT