Thread (1 message) 1 message, 1 author, 2016-09-22

Re: [PATCH 2/6] gpg-interface: add GPG_VERIFY_QUIET flag

From: Junio C Hamano <hidden>
Date: 2016-09-22 20:25:30

santiago@nyu.edu writes:
quoted hunk
diff --git a/gpg-interface.c b/gpg-interface.c
index 8672eda..b82bc50 100644
--- a/gpg-interface.c
+++ b/gpg-interface.c
@@ -88,6 +88,9 @@ int check_signature(const char *payload, size_t plen, const char *signature,
 
 void print_signature_buffer(const struct signature_check *sigc, unsigned flags)
 {
+	if (flags & GPG_VERIFY_QUIET)
+		return;
+
 	const char *output = flags & GPG_VERIFY_RAW ?
 		sigc->gpg_status : sigc->gpg_output;
This will not compile with -Werror=declaration-after-statement.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help