summaryrefslogtreecommitdiff
path: root/setup.c
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2007-12-09 17:14:39 +0700
committerJunio C Hamano <gitster@pobox.com>2007-12-09 02:24:51 -0800
commitbb4e3527b5d59a2db406dfa6519927a97d61770d (patch)
tree13dddf6ca22900c92887654ddbd4b0b8c2c01b89 /setup.c
parent4eb39e9bcccc54eb23af8a7e2676c63e5bf32866 (diff)
downloadgit-bb4e3527b5d59a2db406dfa6519927a97d61770d.tar.gz
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>
Diffstat (limited to 'setup.c')
-rw-r--r--setup.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/setup.c b/setup.c
index e96a316452..b59dbe7f51 100644
--- a/setup.c
+++ b/setup.c
@@ -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) {