summaryrefslogtreecommitdiff
path: root/gpg-interface.h
diff options
context:
space:
mode:
authorLukas Puehringer <luk.puehringer@gmail.com>2017-01-17 23:37:18 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-01-18 00:10:22 (GMT)
commit94240b918f70560393516aa8f98edb877d582c69 (patch)
treebbf21ce1762c8d76d5a3be3182212b12dd387540 /gpg-interface.h
parent3ef7618e616e023cf04180e30d77c9fa5310f964 (diff)
downloadgit-94240b918f70560393516aa8f98edb877d582c69.zip
git-94240b918f70560393516aa8f98edb877d582c69.tar.gz
git-94240b918f70560393516aa8f98edb877d582c69.tar.bz2
gpg-interface, tag: add GPG_VERIFY_OMIT_STATUS flag
Functions that print git object information may require that the gpg-interface functions be silent. Add GPG_VERIFY_OMIT_STATUS flag and prevent print_signature_buffer from being called if flag is set. Signed-off-by: Lukas Puehringer <luk.puehringer@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'gpg-interface.h')
-rw-r--r--gpg-interface.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gpg-interface.h b/gpg-interface.h
index ea68885..d2d4fd3 100644
--- a/gpg-interface.h
+++ b/gpg-interface.h
@@ -1,8 +1,9 @@
#ifndef GPG_INTERFACE_H
#define GPG_INTERFACE_H
-#define GPG_VERIFY_VERBOSE 1
-#define GPG_VERIFY_RAW 2
+#define GPG_VERIFY_VERBOSE 1
+#define GPG_VERIFY_RAW 2
+#define GPG_VERIFY_OMIT_STATUS 4
struct signature_check {
char *payload;