Skip to content

Commit

Permalink
Remove repo version check from setup_git_directory
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Nguyễn Thái Ngọc Duy authored and Junio C Hamano committed Dec 9, 2007
1 parent 4eb39e9 commit bb4e352
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit bb4e352

Please sign in to comment.