Remove repo version check from setup_git_directory
PATCH 1/1 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 <[email protected]>
---
Sorry, somehow I left this line behind. It should have been gone from my re-fix patch.
setup.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
setup.c +0 -1
@@ -388,7 +388,6 @@ int check_repository_format(void)const char *setup_git_directory (void ) {const char *retval =setup_git_directory_gently (NULL ); -check_repository_format ();/* If the work tree is not the default one, recompute prefix */ if (inside_work_tree <0 ) {
Signature · 1 line
1.5.3.7.2155.g4c25
Quoted 15 lines · Nguyễn Thái Ngọc Duy
setup_git_directory_gentlyhas done the check already.Signed-off-by Nguyễn Thái Ngọc Duy <[email protected]>---
Sorry, somehow I left this line behind. It should have been gone from my re-fix patch.setup.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)setup.c +0
-0
setup.c int check_repository_format(void) · line 391
Quoted 4 lines
setup.c +0
-1@@ -388,7 +388,6 @@ int check_repository_format(void)const char *setup_git_directory (void ) {const char *retval =setup_git_directory_gently (NULL ); -check_repository_format ();
Ah, because the previous line already calls the same repository format check, this is now unneeded, indeed.
Thanks.