X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=Documentation%2Fgit-sh-setup.txt;h=6742c9bfcf59c89b8736132240e615a51218ffb3;hb=cf1e6d1ec55264272be8b7f0c276a069d2aac69a;hp=fcf2cdfd5468b8ac22082844b40b8ded3630c8d6;hpb=215a7ad1ef790467a4cd3f0dcffbd6e5f04c38f7;p=git.git diff --git a/Documentation/git-sh-setup.txt b/Documentation/git-sh-setup.txt index fcf2cdfd..6742c9bf 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 -------- @@ -14,11 +14,12 @@ 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 +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