X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=Documentation%2Fgit-sh-setup.txt;h=79217d8a56193c6ba4a3406ec6cbd04abf19fec3;hb=210a0be504829bad5a2821488d3c25cc406fed4a;hp=a02a2b051c1463604f69d9f06c8825f8e720ab34;hpb=0493a3fd5204a36bc961a8611770ddb9ec1ed8ed;p=git.git diff --git a/Documentation/git-sh-setup.txt b/Documentation/git-sh-setup.txt index a02a2b05..79217d8a 100644 --- a/Documentation/git-sh-setup.txt +++ b/Documentation/git-sh-setup.txt @@ -3,7 +3,7 @@ git-sh-setup(1) NAME ---- -git-sh-setup - Common git shell script setup code. +git-sh-setup - Common git shell script setup code SYNOPSIS -------- @@ -13,12 +13,13 @@ DESCRIPTION ----------- 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 +(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: - . git-sh-setup || die "Not a git archive" - -to make the rest of the git scripts more careful and readable. +------------------------------------------------- +. git-sh-setup || die "Not a git archive" +------------------------------------------------- Author ------