git-sh-setup: do not use repo-config to test the git directory
commitc8769f76d992ed391d169cd71be009ca17727271
authorJunio C Hamano <junkio@cox.net>
Sat, 12 Aug 2006 01:47:50 +0000 (11 18:47 -0700)
committerJunio C Hamano <junkio@cox.net>
Sat, 12 Aug 2006 01:52:43 +0000 (11 18:52 -0700)
tree6c612cf2f6452237738c89de1761e4eb44320d68
parent308906fa6e98132cab839a4f42701386fba368ef
git-sh-setup: do not use repo-config to test the git directory

Since repo-config does not fail in non-git directory, it is not
a good command to use to test the git-ness nor validate the
repository revision of $GIT_DIR.

Original patch by Robert Shearman but with minor fixes.

Signed-off-by: Junio C Hamano <junkio@cox.net>
git-sh-setup.sh