summaryrefslogtreecommitdiff
path: root/Documentation/git-sh-setup.txt
blob: fcf2cdfd5468b8ac22082844b40b8ded3630c8d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
git-sh-setup(1)
===============
 
NAME
----
git-sh-setup - Common git shell script setup code.
 
SYNOPSIS
--------
'git-sh-setup'
 
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
 
	. git-sh-setup || die "Not a git archive"
 
to make the rest of the git scripts more careful and readable.
 
Author
------
Written by Linus Torvalds <torvalds@osdl.org>
 
Documentation
--------------
Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>.
 
GIT
---
Part of the link:git.html[git] suite