git-sh-setup-script - Common git shell script setup code.
git-sh-setup-script
Sets up the normal git environment variables and a few helper functions (currently just "die()"), and returns ok if it all looks like a git archive. So use it something like
git-sh-setup-script || die "Not a git archive"
to make the rest of the git scripts more careful and readable.
Written by Linus Torvalds <torvalds@osdl.org>
Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>.
Part of the git suite