X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=Documentation%2Fgit-sh-setup.txt;h=79217d8a56193c6ba4a3406ec6cbd04abf19fec3;hb=fb6a9f93d39e4e5fdb83673a927f71a34e9fb7c0;hp=a02a2b051c1463604f69d9f06c8825f8e720ab34;hpb=7fe2fc79358673a909d71e62d3f80ffe0f525fce;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 ------