summaryrefslogtreecommitdiff
path: root/http-push.c
diff options
context:
space:
mode:
authorTay Ray Chuan <rctay89@gmail.com>2009-02-03 12:39:00 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-02-04 06:51:48 (GMT)
commit2d20b7ebf672c28b18da4558d96f100613e4e4ca (patch)
tree064ff03f2b145f311d7900598badfd799538c905 /http-push.c
parent223bd9317643f8ccef3447583944e58c13c10db9 (diff)
downloadgit-2d20b7ebf672c28b18da4558d96f100613e4e4ca.zip
git-2d20b7ebf672c28b18da4558d96f100613e4e4ca.tar.gz
git-2d20b7ebf672c28b18da4558d96f100613e4e4ca.tar.bz2
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>
Diffstat (limited to 'http-push.c')
-rw-r--r--http-push.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/http-push.c b/http-push.c
index 4b941f4..bb00728 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);