2005-09-07 18:26:23 -06:00
|
|
|
git-sh-setup(1)
|
|
|
|
===============
|
2005-08-23 02:49:47 -06:00
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
2006-03-09 09:24:50 -07:00
|
|
|
git-sh-setup - Common git shell script setup code
|
2005-08-23 02:49:47 -06:00
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
2005-09-07 18:26:23 -06:00
|
|
|
'git-sh-setup'
|
2005-08-23 02:49:47 -06:00
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
|
|
|
|
2005-08-26 19:18:48 -06:00
|
|
|
Sets up the normal git environment variables and a few helper functions
|
2006-06-03 14:27:26 -06:00
|
|
|
(currently just "die()"), and returns OK if it all looks like a git archive.
|
2005-10-03 11:16:30 -06:00
|
|
|
So, to make the rest of the git scripts more careful and readable,
|
|
|
|
use it as follows:
|
2005-08-23 02:49:47 -06:00
|
|
|
|
2005-10-03 11:16:30 -06:00
|
|
|
-------------------------------------------------
|
|
|
|
. git-sh-setup || die "Not a git archive"
|
|
|
|
-------------------------------------------------
|
2005-08-23 02:49:47 -06:00
|
|
|
|
|
|
|
Author
|
|
|
|
------
|
|
|
|
Written by Linus Torvalds <torvalds@osdl.org>
|
|
|
|
|
|
|
|
Documentation
|
|
|
|
--------------
|
|
|
|
Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>.
|
|
|
|
|
|
|
|
GIT
|
|
|
|
---
|
2005-09-19 04:10:51 -06:00
|
|
|
Part of the gitlink:git[7] suite
|
2005-08-23 02:49:47 -06:00
|
|
|
|