git-sh-setup: document git_editor() and get_author_ident_from_commit()
These 2 functions were missing from the manpage. Signed-off-by: Miklos Vajna <vmiklos@frugalware.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Miklos Vajna committed
Dec 28, 2007 at 23:25 UTC
3f4bc3e048280a564e85569549a311f716dae277
1 file changed
+9
Documentation/git-sh-setup.txt
+9
@@ -44,6 +44,11 @@ set_reflog_action::
44
end-user action in the reflog, when the script updates a
45
ref.
46
47
+git_editor::
48
+ runs an editor of user's choice (GIT_EDITOR, core.editor, VISUAL or
49
+ EDITOR) on a given file, but error out if no editor is specified
50
+ and the terminal is dumb.
51
+
52
is_bare_repository::
53
outputs `true` or `false` to the standard output stream
54
to indicate if the repository is a bare repository
@@ -57,6 +62,10 @@ require_work_tree::
62
if so. Used by scripts that require working tree
63
(e.g. `checkout`).
64
65
+get_author_ident_from_commit::
66
+ outputs code for use with eval to set the GIT_AUTHOR_NAME,
67
+ GIT_AUTHOR_EMAIL and GIT_AUTHOR_DATE variables for a given commit.
68
+
69
70
Author
71
------