diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-05-08 22:37:24 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-05-08 22:37:24 -0700 |
commit | 3cc9caadf738c3b2cf7aa46364be173751912a10 (patch) | |
tree | 6b59713c1a2b3e679e643476b2be1b50134d1bc2 /http.h | |
parent | b7d0da858bb2f22c6ef3dbb20c1ded0302f4eaca (diff) | |
parent | d8fab07208abfbe7dc93aea97c5577cdd73266c5 (diff) | |
download | git-3cc9caadf738c3b2cf7aa46364be173751912a10.tar.gz |
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |