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