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.c | |
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.c')
-rw-r--r-- | http.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -720,7 +720,7 @@ static inline int hex(int v) return 'A' + v - 10; } -static void end_url_with_slash(struct strbuf *buf, const char *url) +void end_url_with_slash(struct strbuf *buf, const char *url) { strbuf_addstr(buf, url); if (buf->len && buf->buf[buf->len - 1] != '/') |