From: Michał Górny Date: Mon, 22 Oct 2018 16:38:19 +0000 (+0200) Subject: gpg-interface.c: use flags to determine key/signer info presence X-Git-Tag: v2.20.0-rc0~78^2~2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/0b11a84e1ba26fa3c9995f19e224848d8afc9bcf?ds=inline;hp=0b11a84e1ba26fa3c9995f19e224848d8afc9bcf 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 Signed-off-by: Junio C Hamano ---