diff options
author | Michał Górny <mgorny@gentoo.org> | 2018-10-22 18:38:19 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-10-23 07:58:54 +0900 |
commit | 0b11a84e1ba26fa3c9995f19e224848d8afc9bcf (patch) | |
tree | 40bc1855828836767386ec59203385bfb2be0c2d /Documentation | |
parent | gpg-interface.c: detect and reject multiple signatures on commits (diff) | |
download | tgif-0b11a84e1ba26fa3c9995f19e224848d8afc9bcf.tar.xz |
gpg-interface.c: use flags to determine key/signer info presence
Replace the logic used to determine whether key and signer information
is present to use explicit flags in sigcheck_gpg_status[] array. This
is more future-proof, since it makes it possible to add additional
statuses without having to explicitly update the conditions.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions