X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=Documentation%2Fgit-sh-setup.txt;h=79217d8a56193c6ba4a3406ec6cbd04abf19fec3;hb=162f41292167a800432fc6bbacfcd9f93a90b0c8;hp=fcf2cdfd5468b8ac22082844b40b8ded3630c8d6;hpb=215a7ad1ef790467a4cd3f0dcffbd6e5f04c38f7;p=git.git diff --git a/Documentation/git-sh-setup.txt b/Documentation/git-sh-setup.txt index fcf2cdfd..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 ------ @@ -30,5 +31,5 @@ Documentation by Junio C Hamano and the git-list . GIT --- -Part of the link:git.html[git] suite +Part of the gitlink:git[7] suite