X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=http.h;h=37a6a6a3b0cd0ddbbf395230f04b94fc54191dbe;hb=b7511571e3ecd6b81a47e42a52cf9b5160a3d6e9;hp=2dd03e88b75e2f4dd7b328e5baf5359adebc945e;hpb=e251a7b34a85b0ac8a63a31e899e070ea2a330c7;p=git.git 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