diff options
author | Junio C Hamano <gitster@pobox.com> | 2018-11-03 00:53:58 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-11-03 00:53:58 +0900 |
commit | 11cc180fa5c4428faa64acf3507fa96d9636ad34 (patch) | |
tree | 1f7c63ae51bfc659399ab12c70c0066ea94a015e /Documentation | |
parent | Merge branch 'mg/gpg-parse-tighten' (diff) | |
parent | gpg-interface.c: obtain primary key fingerprint as well (diff) | |
download | tgif-11cc180fa5c4428faa64acf3507fa96d9636ad34.tar.xz |
Merge branch 'mg/gpg-fingerprint'
New "--pretty=format:" placeholders %GF and %GP that show the GPG
key fingerprints have been invented.
* mg/gpg-fingerprint:
gpg-interface.c: obtain primary key fingerprint as well
gpg-interface.c: support getting key fingerprint via %GF format
gpg-interface.c: use flags to determine key/signer info presence
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/pretty-formats.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/pretty-formats.txt b/Documentation/pretty-formats.txt index 6109ef09aa..417b638cd8 100644 --- a/Documentation/pretty-formats.txt +++ b/Documentation/pretty-formats.txt @@ -153,6 +153,9 @@ 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 +- '%GP': show the fingerprint of the primary key whose subkey was 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 |