* [PATCH] http-push: wrap signature of get_remote_object_url
@ 2009-02-03 12:39 Tay Ray Chuan
0 siblings, 0 replies; only message in thread
From: Tay Ray Chuan @ 2009-02-03 12:39 UTC (permalink / raw)
To: git, Junio C Hamano
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2009-02-03 12:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-03 12:39 [PATCH] http-push: wrap signature of get_remote_object_url Tay Ray Chuan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).