setup_git_directory_gently: do not barf when GIT_DIR is given.
commit41e95f699088b14c6a949ec858499f98df4f34f6
authorMatthias Lederhofer <matled@gmx.net>
Sun, 30 Jul 2006 01:30:29 +0000 (30 03:30 +0200)
committerJunio C Hamano <junkio@cox.net>
Mon, 31 Jul 2006 00:45:57 +0000 (30 17:45 -0700)
treeb382b097b0c5f77551cb2470db3198f614317ce5
parentca7a741647f961eb3b6b9df14d079c99fdc9a827
setup_git_directory_gently: do not barf when GIT_DIR is given.

Earlier we barfed when GIT_DIR environment variable points at a
directory yet to be created, which made it impossible to use
configuration mechanism in "git-init-db".

Signed-off-by: Matthias Lederhofer <matled@gmx.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
setup.c