threads / patch / 17527

patchhttp-push: wrap signature of get_remote_object_url

Subject: [PATCH] http-push: wrap signature of get_remote_object_url

## tl;dr

One message between Feb 3, 2009 and Feb 3, 2009. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Tay Ray Chuan· Feb 3, 2009, 12:39 UTC · lore

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(-)
Show changes to http-push.c +2 −1
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

← back to recent threads