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