summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2007-12-09 10:14:39 (GMT)
committerJunio C Hamano <gitster@pobox.com>2007-12-09 10:24:51 (GMT)
commitbb4e3527b5d59a2db406dfa6519927a97d61770d (patch)
tree13dddf6ca22900c92887654ddbd4b0b8c2c01b89
parent4eb39e9bcccc54eb23af8a7e2676c63e5bf32866 (diff)
downloadgit-bb4e3527b5d59a2db406dfa6519927a97d61770d.zip
git-bb4e3527b5d59a2db406dfa6519927a97d61770d.tar.gz
git-bb4e3527b5d59a2db406dfa6519927a97d61770d.tar.bz2
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>
-rw-r--r--setup.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/setup.c b/setup.c
index e96a316..b59dbe7 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) {