summaryrefslogtreecommitdiffstats
path: root/git-sh-setup.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junio@kernel.org>2011-05-26 22:39:49 +0000
committerJunio C Hamano <junio@kernel.org>2011-05-26 22:39:49 +0000
commit90b56531113c979bc874f0c44469d79aea6cd1cf (patch)
treee4f31491a61807d712efe872f14cb3055a5df289 /git-sh-setup.txt
parentf93530e842de298d91691d6b21225deabb4c2765 (diff)
downloadgit-htmldocs-90b56531113c979bc874f0c44469d79aea6cd1cf.tar.gz
Autogenerated HTML docs for v1.7.5.3-367-ga9930
Diffstat (limited to 'git-sh-setup.txt')
-rw-r--r--git-sh-setup.txt11
1 files changed, 8 insertions, 3 deletions
diff --git a/git-sh-setup.txt b/git-sh-setup.txt
index 053df505b..27fd8ba85 100644
--- a/git-sh-setup.txt
+++ b/git-sh-setup.txt
@@ -58,9 +58,14 @@ cd_to_toplevel::
runs chdir to the toplevel of the working tree.
require_work_tree::
- checks if the repository is a bare repository, and dies
- if so. Used by scripts that require working tree
- (e.g. `checkout`).
+ checks if the current directory is within the working tree
+ of the repository, and otherwise dies.
+
+require_work_tree_exists::
+ checks if the working tree associated with the repository
+ exists, and otherwise dies. Often done before calling
+ cd_to_toplevel, which is impossible to do if there is no
+ working tree.
get_author_ident_from_commit::
outputs code for use with eval to set the GIT_AUTHOR_NAME,