git-sh-setup.sh: use rev-parse --git-path to get $GIT_DIR/objects
commitc5f35d011c24ac58682109fdd48bb7684a953bc5
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Sun, 13 Jul 2014 04:50:49 +0000 (13 11:50 +0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 14 Jul 2014 01:26:54 +0000 (13 18:26 -0700)
treea89e5c06f38fcd2db948737b8a1a8178c54ac739
parent45fbf71772eaf766da385b399e4ee6a9d561f467
git-sh-setup.sh: use rev-parse --git-path to get $GIT_DIR/objects

If $GIT_COMMON_DIR is set, $GIT_OBJECT_DIRECTORY should be
$GIT_COMMON_DIR/objects, not $GIT_DIR/objects. Just let rev-parse
--git-path handle it.

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