summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTay Ray Chuan <rctay89@gmail.com>2009-02-03 20:39:00 +0800
committerJunio C Hamano <gitster@pobox.com>2009-02-03 22:51:48 -0800
commit2d20b7ebf672c28b18da4558d96f100613e4e4ca (patch)
tree064ff03f2b145f311d7900598badfd799538c905
parent223bd9317643f8ccef3447583944e58c13c10db9 (diff)
downloadgit-2d20b7ebf672c28b18da4558d96f100613e4e4ca.tar.gz
http-push: wrap signature of get_remote_object_url
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. Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--http-push.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/http-push.c b/http-push.c
index 4b941f4d3e..bb00728f14 100644
--- a/http-push.c
+++ b/http-push.c
@@ -231,7 +231,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);