Simplify setup of $GIT_DIR in git-sh-setup.sh
authorLars Hjemli <hjemli@gmail.com>
Mon, 18 Feb 2008 10:44:19 +0000 (11:44 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 19 Feb 2008 05:53:44 +0000 (21:53 -0800)
Using 'git rev-parse --git-dir' makes the code shorter and more future-
proof.

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found