Skip to content

Commit

Permalink
git-sh-setup: document git_editor() and get_author_ident_from_commit()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Miklos Vajna authored and Junio C Hamano committed Dec 29, 2007
1 parent c458570 commit 3f4bc3e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Documentation/git-sh-setup.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ set_reflog_action::
end-user action in the reflog, when the script updates a
ref.

git_editor::
runs an editor of user's choice (GIT_EDITOR, core.editor, VISUAL or
EDITOR) on a given file, but error out if no editor is specified
and the terminal is dumb.

is_bare_repository::
outputs `true` or `false` to the standard output stream
to indicate if the repository is a bare repository
Expand All @@ -57,6 +62,10 @@ require_work_tree::
if so. Used by scripts that require working tree
(e.g. `checkout`).

get_author_ident_from_commit::
outputs code for use with eval to set the GIT_AUTHOR_NAME,
GIT_AUTHOR_EMAIL and GIT_AUTHOR_DATE variables for a given commit.


Author
------
Expand Down

0 comments on commit 3f4bc3e

Please sign in to comment.