aboutsummaryrefslogtreecommitdiff
path: root/http.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-05-08 22:37:24 -0700
committerJunio C Hamano <gitster@pobox.com>2010-05-08 22:37:24 -0700
commit3cc9caadf738c3b2cf7aa46364be173751912a10 (patch)
tree6b59713c1a2b3e679e643476b2be1b50134d1bc2 /http.h
parentb7d0da858bb2f22c6ef3dbb20c1ded0302f4eaca (diff)
parentd8fab07208abfbe7dc93aea97c5577cdd73266c5 (diff)
downloadgit-3cc9caadf738c3b2cf7aa46364be173751912a10.tar.gz
git-3cc9caadf738c3b2cf7aa46364be173751912a10.tar.xz
Merge branch 'rc/maint-curl-helper'
* rc/maint-curl-helper: remote-curl: ensure that URLs have a trailing slash http: make end_url_with_slash() public t5541-http-push: add test for URLs with trailing slash Conflicts: remote-curl.c
Diffstat (limited to 'http.h')
-rw-r--r--http.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/http.h b/http.h
index 2dd03e88b..37a6a6a3b 100644
--- a/http.h
+++ b/http.h
@@ -117,6 +117,7 @@ extern void append_remote_object_url(struct strbuf *buf, const char *url,
int only_two_digit_prefix);
extern char *get_remote_object_url(const char *url, const char *hex,
int only_two_digit_prefix);
+extern void end_url_with_slash(struct strbuf *buf, const char *url);
/* Options for http_request_*() */
#define HTTP_NO_CACHE 1