mirror of
https://github.com/git/git.git
synced 2024-11-16 22:14:53 +01:00
abda1ef590
Signed-off-by: Horst H. von Brand <vonbrand@inf.utfsm.cl> Signed-off-by: Junio C Hamano <junkio@cox.net>
35 lines
737 B
Text
35 lines
737 B
Text
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, to make the rest of the git scripts more careful and readable,
|
|
use it as follows:
|
|
|
|
-------------------------------------------------
|
|
. git-sh-setup || die "Not a git archive"
|
|
-------------------------------------------------
|
|
|
|
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 gitlink:git[7] suite
|
|
|