2005-09-08 02:26:23 +02:00
|
|
|
git-sh-setup(1)
|
|
|
|
===============
|
2005-08-23 10:49:47 +02:00
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
2006-03-09 17:24:50 +01:00
|
|
|
git-sh-setup - Common git shell script setup code
|
2005-08-23 10:49:47 +02:00
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
2005-09-08 02:26:23 +02:00
|
|
|
'git-sh-setup'
|
2005-08-23 10:49:47 +02:00
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
|
|
|
|
2005-08-27 03:18:48 +02:00
|
|
|
Sets up the normal git environment variables and a few helper functions
|
2006-06-03 22:27:26 +02:00
|
|
|
(currently just "die()"), and returns OK if it all looks like a git archive.
|
2005-10-03 19:16:30 +02:00
|
|
|
So, to make the rest of the git scripts more careful and readable,
|
|
|
|
use it as follows:
|
2005-08-23 10:49:47 +02:00
|
|
|
|
2005-10-03 19:16:30 +02:00
|
|
|
-------------------------------------------------
|
|
|
|
. git-sh-setup || die "Not a git archive"
|
|
|
|
-------------------------------------------------
|
2005-08-23 10:49:47 +02: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 12:10:51 +02:00
|
|
|
Part of the gitlink:git[7] suite
|
2005-08-23 10:49:47 +02:00
|
|
|
|