git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] git-sh-setup: document git_editor() and get_author_ident_from_commit()

From
Miklos Vajna <vmiklos@frugalware.org>
Date
Dec 28, 2007, 22:25 UTC
Message-ID
<1198880739-8480-1-git-send-email-vmiklos@frugalware.org>
These 2 functions were missing from the manpage.
Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
---
 Documentation/git-sh-setup.txt |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/Documentation/git-sh-setup.txt b/Documentation/git-sh-setup.txt
index 1ea1faa..fd024d7 100644
--- a/Documentation/git-sh-setup.txt
+++ b/Documentation/git-sh-setup.txt
@@ -44,6 +44,10 @@ set_reflog_action::
 	end-user action in the reflog, when the script updates a
 	ref.
 
+git_editor::
+	runs the proper editor based on GIT_EDITOR, core.editor, VISUAL or
+	EDITOR.
+
 is_bare_repository::
 	outputs `true` or `false` to the standard output stream
 	to indicate if the repository is a bare repository
@@ -57,6 +61,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
 ------
-- 
1.5.4.rc2-dirty
Next: Junio C Hamano
Message 1 of 3 in “git-sh-setup: document git_editor() and get_author_ident_from_commit()”
  1. git-sh-setup: document git_editor() and get_author_ident_from_commit()Miklos Vajna, Dec 28, 2007
  2. Junio C HamanoDec 29, 2007
  3. git-sh-setup: document git_editor() and get_author_ident_from_commit()Miklos Vajna, Dec 29, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.