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

[PATCH] http-push: wrap signature of get_remote_object_url

From
Tay Ray Chuan <rctay89@gmail.com>
Date
Feb 3, 2009, 12:39 UTC
Message-ID
<49883AE4.90709@gmail.com>

The signature of get_remote_object_url stands at 96 characters (as pointed out by Dscho); this patch wraps it so that it conforms to the 80 characters guideline.

---

This patch applies on top of Junio's patch "http-push.c: get_remote_object_url() is only used under USE_CURL_MULTI"

 http-push.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/http-push.c b/http-push.c
index 3e75cf3..54c62d4 100644
--- a/http-push.c
+++ b/http-push.c
@@ -232,7 +232,8 @@ static void process_response(void *callback_data)

 #ifdef USE_CURL_MULTI

-static char *get_remote_object_url(const char *url, const char *hex, int only_two_digit_prefix)
+static char *get_remote_object_url(const char *url, const char *hex,
+				   int only_two_digit_prefix)
 {
 	struct strbuf buf = STRBUF_INIT;
 	append_remote_object_url(&buf, url, hex, only_two_digit_prefix);
-- 
1.6.1.2.278.g9a9e.dirty
Message 1 of 1 in “http-push: wrap signature of get_remote_object_url”
  1. http-push: wrap signature of get_remote_object_urlTay Ray Chuan, Feb 3, 2009

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.