setup.c: detect $GIT_COMMON_DIR in is_git_directory()
commit4dc4e1457e17788e8f258a3f18c78bd58ef543af
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Sun, 30 Nov 2014 08:24:41 +0000 (30 15:24 +0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 1 Dec 2014 19:00:14 +0000 (1 11:00 -0800)
treeae832a7d52525919e51c5c7bfd460d4ccb45cfe6
parent1d186b6f3517b88325fec893f53cf59c3098f409
setup.c: detect $GIT_COMMON_DIR in is_git_directory()

If the file "$GIT_DIR/commondir" exists, it contains the value of
$GIT_COMMON_DIR.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/gitrepository-layout.txt
setup.c