X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=http.h;h=5c6e243dde3c654a3c0a705146fb15395c27fb95;hb=58c4d66619eb21fa23a1305401e0ec4988c1c17e;hp=173f74c8298c3fa3989f88b06e2085127fe96db8;hpb=d42cb5804f9c52b88b6dfe709a659e31394ea2ae;p=git.git diff --git a/http.h b/http.h index 173f74c82..5c6e243dd 100644 --- a/http.h +++ b/http.h @@ -8,6 +8,7 @@ #include "strbuf.h" #include "remote.h" +#include "url.h" /* * We detect based on the cURL version if multi-transfer is @@ -117,7 +118,6 @@ 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