From: Santiago Torres <santiago@xxxxxxx> The current implementation of git tag -v omits the gpg output when the --format flag is passed. This may not be useful to users that want to see the gpg output *and* --format the output of the git tag -v. Instead, pass the default gpg interface output if --format is specified. Signed-off-by: Santiago Torres <santiago@xxxxxxx> --- builtin/tag.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/builtin/tag.c b/builtin/tag.c index 02f6bd1279..449d91c13c 100644 --- a/builtin/tag.c +++ b/builtin/tag.c @@ -110,10 +110,10 @@ static int verify_tag(const char *name, const char *ref, { int flags; const struct ref_format *format = cb_data; - flags = GPG_VERIFY_VERBOSE; + flags = 0; - if (format->format) - flags = GPG_VERIFY_OMIT_STATUS; + if (!format->format) + flags = GPG_VERIFY_VERBOSE; if (gpg_verify_tag(oid, name, flags)) return -1; -- 2.21.0