Simplify setup of $GIT_DIR in git-sh-setup.sh
authorLars Hjemli <redacted>
Mon, 18 Feb 2008 10:44:19 +0000 (11:44 +0100)
committerJunio C Hamano <redacted>
Tue, 19 Feb 2008 05:53:44 +0000 (21:53 -0800)
commit4d6d6d2d3f778b892f2481969e530ff67ee0aa6c
tree2b433f37d05c335ac5473850f6ca11cb77bdce3b
parentee4f06c0a60d8b17efdd8f6a3332f175f6aafe0e
Simplify setup of $GIT_DIR in git-sh-setup.sh

Using 'git rev-parse --git-dir' makes the code shorter and more future-
proof.

Signed-off-by: Lars Hjemli <redacted>
Signed-off-by: Junio C Hamano <redacted>
git-sh-setup.sh
git clone https://git.99rst.org/PROJECT