summaryrefslogtreecommitdiff
path: root/Documentation/pretty-formats.txt
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-10-22 16:38:20 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-10-22 23:00:09 (GMT)
commit3daaaabe7ed22c17bff04d19c711be427bd2e225 (patch)
treea731b31651b54e0f23b079e10e8aeaf9b094aaf2 /Documentation/pretty-formats.txt
parent0b11a84e1ba26fa3c9995f19e224848d8afc9bcf (diff)
downloadgit-3daaaabe7ed22c17bff04d19c711be427bd2e225.zip
git-3daaaabe7ed22c17bff04d19c711be427bd2e225.tar.gz
git-3daaaabe7ed22c17bff04d19c711be427bd2e225.tar.bz2
gpg-interface.c: support getting key fingerprint via %GF format
Support processing VALIDSIG status that provides additional information for valid signatures. Use this information to propagate signing key fingerprint and expose it via %GF pretty format. This format can be used to build safer key verification systems that verify the key via complete fingerprint rather than short/long identifier provided by %GK. Signed-off-by: Michał Górny <mgorny@gentoo.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/pretty-formats.txt')
-rw-r--r--Documentation/pretty-formats.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/pretty-formats.txt b/Documentation/pretty-formats.txt
index 6109ef0..8ab7d6d 100644
--- a/Documentation/pretty-formats.txt
+++ b/Documentation/pretty-formats.txt
@@ -153,6 +153,7 @@ endif::git-rev-list[]
and "N" for no signature
- '%GS': show the name of the signer for a signed commit
- '%GK': show the key used to sign a signed commit
+- '%GF': show the fingerprint of the key used to sign a signed commit
- '%gD': reflog selector, e.g., `refs/stash@{1}` or
`refs/stash@{2 minutes ago`}; the format follows the rules described
for the `-g` option. The portion before the `@` is the refname as