Documentation: Document signature showing options
The pretty formats for GPG signatures were introduced but never documented. Use the documentation from the commit that introduced them. Do the same for the --show-signature option added to git log and friends. Signed-off-by: Stephen Boyd <bebarino@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Stephen Boyd committed
Sep 20, 2012 at 01:10 UTC
f2fef7b55aea64104a6aee662817e1e6f0b22f71
2 files changed
+7
Documentation/pretty-formats.txt
+3
@@ -130,6 +130,9 @@ The placeholders are:
130
- '%b': body
131
- '%B': raw body (unwrapped subject and body)
132
- '%N': commit notes
133
+- '%GG': raw verification message from GPG for a signed commit
134
+- '%G?': show either "G" for Good or "B" for Bad for a signed commit
135
+- '%GS': show the name of the signer for a signed commit
136
- '%gD': reflog selector, e.g., `refs/stash@{1}`
137
- '%gd': shortened reflog selector, e.g., `stash@{1}`
138
- '%gn': reflog identity name
Documentation/pretty-options.txt
+4
@@ -66,3 +66,7 @@ being displayed. Examples: "--notes=foo" will show only notes from
66
--[no-]standard-notes::
67
These options are deprecated. Use the above --notes/--no-notes
68
options instead.
69
+
70
+--show-signature::
71
+ Check the validity of a signed commit object by passing the signature
72
+ to `gpg --verify` and show the output.