Code

Do check_repository_format() early
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Thu, 29 Nov 2007 12:21:39 +0000 (19:21 +0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 30 Nov 2007 23:05:48 +0000 (15:05 -0800)
commit138dd1e990cef5ac0176426016ad5e1f8e5dff58
tree9dc15f7e289ebcf381f518718b8a2c6bd21cb0a1
parent1e8a1954519a070e92cb73f756b271664e1cc4d1
Do check_repository_format() early

Repository version check is only performed when
setup_git_directory() is called. This makes sure
setup_git_directory_gently() does the check too.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Acked-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
setup.c