Re: [PATCH] Documentation/commit-tree: mention -S option
From: Junio C Hamano <hidden>
Date: 2016-06-15 22:56:31
Brad King [off-list ref] writes:
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. ---
Thanks; sign-off?
quoted hunk
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 ------------------