author | Junio C Hamano <junkio@cox.net> | |
Sat, 12 Aug 2006 01:47:50 +0000 (18:47 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sat, 12 Aug 2006 01:52:43 +0000 (18:52 -0700) | ||
commit | c8769f76d992ed391d169cd71be009ca17727271 | |
tree | 6c612cf2f6452237738c89de1761e4eb44320d68 | tree | snapshot |
parent | 308906fa6e98132cab839a4f42701386fba368ef | commit | diff |
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>
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 | diff | blob | history |