@matheusbsbs / matheus-bagliano / commits / bb4e3527b5
Fork 0

Remove repo version check from setup_git_directory

setup_git_directory_gently has done the check already. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Nguyễn Thái Ngọc Duy committed Dec 9, 2007 at 17:14 UTC bb4e3527b5d59a2db406dfa6519927a97d61770d
1 file changed -1
setup.c
-1
@@ -388,7 +388,6 @@ int check_repository_format(void)
388 const char *setup_git_directory(void)
389 {
390 const char *retval = setup_git_directory_gently(NULL);
391 - check_repository_format();
391
392 /* If the work tree is not the default one, recompute prefix */
393 if (inside_work_tree < 0) {