{"thread":{"id":"31616","subject":"[PATCH] Documentation: Document signature showing options","startedAt":"2012-09-20T08:10:38Z","lastAt":"2012-09-20T20:40:05Z","messageCount":2,"participants":["Stephen Boyd","Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"199576","messageId":"1348128638-26003-1-git-send-email-bebarino@gmail.com","threadId":"31616","inReplyTo":null,"subject":"[PATCH] Documentation: Document signature showing options","fromName":"Stephen Boyd","fromEmail":"bebarino@gmail.com","sentAt":"2012-09-20T08:10:38Z","receivedAt":"2012-09-20T08:10:38Z","isPatch":true,"sender":{"key":"bebarino@gmail.com","avatar":"https://avatars.githubusercontent.com/u/38832?v=4"},"body":"The pretty formats for GPG signatures were introduced but never\ndocumented. Use the documentation from the commit that introduced them.\nDo the same for the --show-signature option added to git log and\nfriends.\n\nSigned-off-by: Stephen Boyd <bebarino@gmail.com>\n---\n\nI had to google for --show-signature one too many times.\n\n Documentation/pretty-formats.txt | 3 +++\n Documentation/pretty-options.txt | 4 ++++\n 2 files changed, 7 insertions(+)\n\ndiff --git a/Documentation/pretty-formats.txt b/Documentation/pretty-formats.txt\nindex e3d8a83..d9edded 100644\n--- a/Documentation/pretty-formats.txt\n+++ b/Documentation/pretty-formats.txt\n@@ -130,6 +130,9 @@ The placeholders are:\n - '%b': body\n - '%B': raw body (unwrapped subject and body)\n - '%N': commit notes\n+- '%GG': raw verification message from GPG for a signed commit\n+- '%G?': show either \"G\" for Good or \"B\" for Bad for a signed commit\n+- '%GS': show the name of the signer for a signed commit\n - '%gD': reflog selector, e.g., `refs/stash@{1}`\n - '%gd': shortened reflog selector, e.g., `stash@{1}`\n - '%gn': reflog identity name\ndiff --git a/Documentation/pretty-options.txt b/Documentation/pretty-options.txt\nindex 2a3dc86..5e49942 100644\n--- a/Documentation/pretty-options.txt\n+++ b/Documentation/pretty-options.txt\n@@ -66,3 +66,7 @@ being displayed. Examples: \"--notes=foo\" will show only notes from\n --[no-]standard-notes::\n \tThese options are deprecated. Use the above --notes/--no-notes\n \toptions instead.\n+\n+--show-signature::\n+\tCheck the validity of a signed commit object by passing the signature\n+\tto `gpg --verify` and show the output.\n-- \n1.7.12.1.382.gb0576a6.dirty\n"},{"id":"199623","messageId":"7vvcf8a0nu.fsf@alter.siamese.dyndns.org","threadId":"31616","inReplyTo":"1348128638-26003-1-git-send-email-bebarino@gmail.com","subject":"Re: [PATCH] Documentation: Document signature showing options","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2012-09-20T20:40:05Z","receivedAt":"2012-09-20T20:40:05Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Thanks.\n"}]}