diff options
| author | Kousik Sanagavarapu <five231003@gmail.com> | 2023-06-04 23:52:47 +0530 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2023-06-06 09:32:15 +0900 |
| commit | 26c9c03f0a9c26f5e41af19f3cbd6f4dda7006b3 (patch) | |
| tree | 1c4564bfb010553618e250d92c9fbdcba616522f /builtin/commit.c | |
| parent | t/lib-gpg: introduce new prereq GPG2 (diff) | |
| download | git-26c9c03f0a9c26f5e41af19f3cbd6f4dda7006b3.tar.gz git-26c9c03f0a9c26f5e41af19f3cbd6f4dda7006b3.zip | |
ref-filter: add new "signature" atom
Duplicate the code for outputting the signature and its other
parameters for commits and tags in ref-filter from pretty. In the
future, this will help in getting rid of the current duplicate
implementations of such logic everywhere, when ref-filter can do
everything that pretty is doing.
The new atom "signature" and its friends are equivalent to the existing
pretty formats as follows:
%(signature) = %GG
%(signature:grade) = %G?
%(siganture:signer) = %GS
%(signature:key) = %GK
%(signature:fingerprint) = %GF
%(signature:primarykeyfingerprint) = %GP
%(signature:trustlevel) = %GT
Co-authored-by: Hariom Verma <hariom18599@gmail.com>
Co-authored-by: Jaydeep Das <jaydeepjd.8914@gmail.com>
Co-authored-by: Nsengiyumva Wilberforce <nsengiyumvawilberforce@gmail.com>
Mentored-by: Christian Couder <christian.couder@gmail.com>
Mentored-by: Hariom Verma <hariom18599@gmail.com>
Signed-off-by: Kousik Sanagavarapu <five231003@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions
