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

[PATCH] Documentation/commit-tree: mention -S option

From
Brad King <brad.king@kitware.com>
Date
Mar 25, 2013, 19:39 UTC
Message-ID
<14b024f9ee5c6319a0ff1f700f52d29b2464764f.1364240065.git.brad.king@kitware.com>
Commit ba3c69a9 (commit: teach --gpg-sign option, 2011-10-05) added the
-S option and documented it in the command usage.  Then commit 098bbdc3
(Add -S, --gpg-sign option to manpage of "git commit", 2012-10-21)
documented it in the porcelain manpage.  Use wording from the porcelain
to document the option in the plumbing manpage too.
---
 Documentation/git-commit-tree.txt |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/Documentation/git-commit-tree.txt b/Documentation/git-commit-tree.txt
index 86ef56e..62f7b53 100644
--- a/Documentation/git-commit-tree.txt
+++ b/Documentation/git-commit-tree.txt
@@ -10,7 +10,9 @@ SYNOPSIS
 --------
 [verse]
 'git commit-tree' <tree> [(-p <parent>)...] < changelog
-'git commit-tree' [(-p <parent>)...] [(-m <message>)...] [(-F <file>)...] <tree>
+'git commit-tree' [(-p <parent>)...] [-S<keyid>] [(-m <message>)...]
+		  [(-F <file>)...] <tree>
+
 
 DESCRIPTION
 -----------
@@ -52,6 +54,9 @@ OPTIONS
 	Read the commit log message from the given file. Use `-` to read
 	from the standard input.
 
+-S<keyid>::
+	GPG-sign commit.
+
 
 Commit Information
 ------------------
-- 
1.7.10.4
Next: Junio C Hamano
Message 1 of 5 in “Documentation/commit-tree: mention -S option”
  1. Documentation/commit-tree: mention -S optionBrad King, Mar 25, 2013
  2. Junio C HamanoMar 25, 2013
  3. Brad KingMar 25, 2013
  4. Junio C HamanoMar 25, 2013
  5. commit-tree: document -S option consistentlyBrad King, Mar 25, 2013

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.