git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 1/3] verify_signed_buffer: fix stale comment

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 4, 2012, 22:10 UTC
Message-ID
<1325715058-11984-2-git-send-email-gitster@pobox.com>
In-Reply-To
<1325715058-11984-1-git-send-email-gitster@pobox.com>

The function used to take an integer flag to specify where the output should go, but these days we supply a strbuf to receive it.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
---
 gpg-interface.c |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/gpg-interface.c b/gpg-interface.c
index 18630ff..09ab64a 100644
--- a/gpg-interface.c
+++ b/gpg-interface.c
@@ -95,10 +95,7 @@ int sign_buffer(struct strbuf *buffer, struct strbuf *signature, const char *sig
 
 /*
  * Run "gpg" to see if the payload matches the detached signature.
- * gpg_output_to tells where the output from "gpg" should go:
- *   < 0: /dev/null
- *   = 0: standard error of the calling process
- *   > 0: the specified file descriptor
+ * gpg_output, when set, receives the diagnostic output from GPG.
  */
 int verify_signed_buffer(const char *payload, size_t payload_size,
 			 const char *signature, size_t signature_size,
-- 
1.7.8.2.340.gd18f0f
Previous: Junio C HamanoNext: Junio C Hamano
Message 2 of 7 in “More on pulling signed tags”
  1. 0/3 More on pulling signed tagsJunio C Hamano, Jan 4, 2012
  2. 1/3 verify_signed_buffer: fix stale commentJunio C Hamano, Jan 4, 2012
  3. 2/3 log-tree.c: small refactor in show_signature()Junio C Hamano, Jan 4, 2012
  4. 3/3 log-tree: show mergetag in log --show-signature outputJunio C Hamano, Jan 4, 2012
  5. Junio C HamanoJan 5, 2012
  6. Junio C HamanoJan 5, 2012
  7. Linus TorvaldsJan 5, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.