git-sh-setup: die if outside git repository.
authorJunio C Hamano <junkio@cox.net>
Thu, 24 Nov 2005 08:12:11 +0000 (00:12 -0800)
committerJunio C Hamano <junkio@cox.net>
Fri, 25 Nov 2005 21:49:17 +0000 (13:49 -0800)
commitae2b0f15180d4b044828c836bcab6a990efa5c8e
treef316bfd81eaa2064c1d9e01a336eaed8d7a5bd4f
parente8cc80d03934cc607e3a4d89a05350c238dbf9c5
git-sh-setup: die if outside git repository.

Now all the users of this script detect its exit status and die,
complaining that it is outside git repository.  So move the code
that dies from all callers to git-sh-setup script.

Signed-off-by: Junio C Hamano <junkio@cox.net>
26 files changed:
git-am.sh
git-applymbox.sh
git-applypatch.sh
git-bisect.sh
git-branch.sh
git-checkout.sh
git-cherry.sh
git-commit.sh
git-count-objects.sh
git-fetch.sh
git-format-patch.sh
git-lost-found.sh
git-merge.sh
git-octopus.sh
git-prune.sh
git-pull.sh
git-push.sh
git-rebase.sh
git-repack.sh
git-reset.sh
git-resolve.sh
git-revert.sh
git-sh-setup.sh
git-status.sh
git-tag.sh
git-verify-tag.sh