1 .\"Generated by db2man.xsl. Don't modify this, modify the source.
10 .de Sp \" Vertical space (when we can't use .PP)
16 .ie \\n(.$>=3 .ne \\$3
20 .TH "GIT-SH-SETUP" 1 "" "" ""
22 git-sh-setup \- Common git shell script setup code
31 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, to make the rest of the git scripts more careful and readable, use it as follows:
34 \&. git\-sh\-setup || die "Not a git archive"
40 Written by Linus Torvalds <torvalds@osdl\&.org>
45 Documentation by Junio C Hamano and the git\-list <git@vger\&.kernel\&.org>\&.
50 Part of the \fBgit\fR(7) suite