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>
This commit is contained in:

committed by
Junio C Hamano

parent
3ef7618e61
commit
94240b918f
@ -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;
|
||||
|
Reference in New Issue
Block a user