Code

Merge branch 'rc/maint-curl-helper' into maint
[git.git] / http.c
diff --git a/http.c b/http.c
index 4814217c6401faa1fd8f13f0288758f57b5e3755..364c333c6b9c553121c4cc6ad6a9b622de185808 100644 (file)
--- a/http.c
+++ b/http.c
@@ -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] != '/')