summaryrefslogtreecommitdiff
path: root/builtin/verify-tag.c
diff options
context:
space:
mode:
authorMichael J Gruber <git@drmicha.warpmail.net>2013-02-14 16:04:44 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-02-14 17:30:04 (GMT)
commit9cc4ac8ff1ae84f9435f2c7de3f7ab796103adba (patch)
tree7f5e079652c0ae7c107321c7b91cdead79240ccd /builtin/verify-tag.c
parent1315093f99f327ff498ae6c8afcc42651bbddebc (diff)
downloadgit-9cc4ac8ff1ae84f9435f2c7de3f7ab796103adba.zip
git-9cc4ac8ff1ae84f9435f2c7de3f7ab796103adba.tar.gz
git-9cc4ac8ff1ae84f9435f2c7de3f7ab796103adba.tar.bz2
gpg_interface: allow to request status return
Currently, verify_signed_buffer() returns the user facing output only. Allow callers to request the status output also. Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/verify-tag.c')
-rw-r--r--builtin/verify-tag.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/verify-tag.c b/builtin/verify-tag.c
index a8eee88..9cdf332 100644
--- a/builtin/verify-tag.c
+++ b/builtin/verify-tag.c
@@ -29,7 +29,7 @@ static int run_gpg_verify(const char *buf, unsigned long size, int verbose)
if (size == len)
return error("no signature found");
- return verify_signed_buffer(buf, len, buf + len, size - len, NULL);
+ return verify_signed_buffer(buf, len, buf + len, size - len, NULL, NULL);
}
static int verify_tag(const char *name, int verbose)