Add -S, --gpg-sign option to manpage of "git commit"
PATCH 1/1 Add -S, --gpg-sign option to manpage of "git commit"
git commit -S, --gpg-sign was mentioned in the program's help message, but not in the manpage.
This adds an equivalent entry for the option in the manpage.
--- Documentation/git-commit.txt | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-)
Documentation/git-commit.txt +5 -1
@@ -13,7 +13,7 @@ SYNOPSIS [-F <file> | -m <msg>] [--reset-author] [--allow-empty] [--allow-empty-message] [--no-verify] [-e] [--author=<author>] [--date=<date>] [--cleanup=<mode>] [--status | --no-status] - [-i | -o] [--] [<file>...] + [-i | -o] [--] [-S[keyid]] [<file>...] DESCRIPTION -----------
@@ -276,6 +276,10 @@ configuration variable documented in linkgit:git-config[1]. commit message template when using an editor to prepare the default commit message. +-S[<keyid>]:: +--gpg-sign[=<keyid>]:: + GPG-sign commit. + \--:: Do not interpret any more arguments as options.
Signature · 1 line
1.7.2.5
Quoted 5 lines · Tom Jones
git commit -S, --gpg-sign was mentioned in the program's help message, but not in the manpage.
This adds an equivalent entry for the option in the manpage.
---
Sign off?
Documentation/git-commit.txt SYNOPSIS · line 16
Quoted 13 lines
Documentation/git-commit.txt | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-)Documentation/git-commit.txt +1
-1@@ -13,7 +13,7 @@ SYNOPSIS [-F <file> | -m <msg>] [--reset-author] [--allow-empty] [--allow-empty-message] [--no-verify] [-e] [--author=<author>] [--date=<date>] [--cleanup=<mode>] [--status | --no-status] - [-i | -o] [--] [<file>...] + [-i | -o] [--] [-S[keyid]] [<file>...]
Are you sure about this? The order, described in "git help cli", of the command line arguments is options (such as -F <file> -S[<keyid>]) first, then revs (irrelevant for "git commit" and lack of it in this manual is correct), and then paths. Optionally "--" can be used to mark the beginning of "paths" part (e.g. "git commit -- -S" or "git commit ./-S" is used when you want to commit a file whose name is "-S").
Quoted 12 lines
Documentation/git-commit.txt +4
-0DESCRIPTION -----------@@ -276,6 +276,10 @@ configuration variable documented in linkgit:git-config[1]. commit message template when using an editor to prepare the default commit message. +-S[<keyid>]:: +--gpg-sign[=<keyid>]:: + GPG-sign commit. + \--:: Do not interpret any more arguments as options.
PATCH 1/1 Add -S, --gpg-sign option to manpage of "git commit"
git commit -S, --gpg-sign was mentioned in the program's help message, but not in the manpage.
This adds an equivalent entry for the option in the manpage.
---
Quoted 1 line · Junio C Hamano
Are you sure about this? The order [...]
Good point. Please find a revised patch, with the newly documented option before the optional double dashes, below.
Quoted 1 line
Sign off?
Now added, too.
Documentation/git-commit.txt | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-)
Documentation/git-commit.txt +5 -1
@@ -13,7 +13,7 @@ SYNOPSIS [-F <file> | -m <msg>] [--reset-author] [--allow-empty] [--allow-empty-message] [--no-verify] [-e] [--author=<author>] [--date=<date>] [--cleanup=<mode>] [--status | --no-status] - [-i | -o] [--] [<file>...] + [-i | -o] [-S[keyid]] [--] [<file>...] DESCRIPTION -----------
@@ -276,6 +276,10 @@ configuration variable documented in linkgit:git-config[1]. commit message template when using an editor to prepare the default commit message. +-S[<keyid>]:: +--gpg-sign[=<keyid>]:: + GPG-sign commit. + \--:: Do not interpret any more arguments as options.
Signature · 1 line
1.7.2.5
Quoted 6 lines · Tom Jones
git commit -S, --gpg-sign was mentioned in the program's help message, but not in the manpage.
This adds an equivalent entry for the option in the manpage.
Signed-off-by Tom Jones <[email protected]>
Thanks. This slipped through the cracks last week, but I've picked it up now.
Documentation/git-commit.txt configuration variable documented in linkgit:git-config[1]. · line 282
Quoted 10 lines
DESCRIPTION
-----------Documentation/git-commit.txt +4
-0@@ -276,6 +276,10 @@ configuration variable documented in linkgit:git-config[1]. commit message template when using an editor to prepare the default commit message. +-S[<keyid>]:: +--gpg-sign[=<keyid>]:: + GPG-sign commit. +
Potentially we could say more (like how to verify), but I will leave that for somebody to build on top if they want.
-Peff