DORMANTno replies

[PATCH 4/4] setup_git_directory(): check repository format version.

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:13
Subsystem: the rest · Maintainer: Linus Torvalds

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 <redacted>

---

 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help