Skip to content

Commit bb4e352

Browse files
pcloudsgitster
authored andcommitted
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>
1 parent 4eb39e9 commit bb4e352

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

setup.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,6 @@ int check_repository_format(void)
388388
const char *setup_git_directory(void)
389389
{
390390
const char *retval = setup_git_directory_gently(NULL);
391-
check_repository_format();
392391

393392
/* If the work tree is not the default one, recompute prefix */
394393
if (inside_work_tree < 0) {

0 commit comments

Comments
 (0)