verify-commit: add option to print raw gpg status information
verify-commit by default displays human-readable output on standard error. However, it can also be useful to get access to the raw gpg status information, which is machine-readable, allowing automated implementation of signing policy. Add a --raw option to make verify-commit produce the gpg status information on standard error instead of the human-readable format. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
ca194d50b8
commit
aeff29dd4d
@ -2,6 +2,7 @@
|
||||
#define GPG_INTERFACE_H
|
||||
|
||||
#define GPG_VERIFY_VERBOSE 1
|
||||
#define GPG_VERIFY_RAW 2
|
||||
|
||||
struct signature_check {
|
||||
char *payload;
|
||||
|
Reference in New Issue
Block a user