remote: fix set-branches usage
[gitweb.git] / http.h
diff --git a/http.h b/http.h
index 2dd03e88b75e2f4dd7b328e5baf5359adebc945e..37a6a6a3b0cd0ddbbf395230f04b94fc54191dbe 100644 (file)
--- 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