summaryrefslogtreecommitdiffstats
path: root/gpg-interface.h
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-10-22 18:38:19 +0200
committerJunio C Hamano <gitster@pobox.com>2018-10-23 07:58:54 +0900
commit0b11a84e1ba26fa3c9995f19e224848d8afc9bcf (patch)
tree40bc1855828836767386ec59203385bfb2be0c2d /gpg-interface.h
parentda6cf1b3360eefdce3dbde7632eca57177327f37 (diff)
downloadgit-0b11a84e1ba26fa3c9995f19e224848d8afc9bcf.tar.gz
git-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 'gpg-interface.h')
0 files changed, 0 insertions, 0 deletions