X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=http.h;h=5c6e243dde3c654a3c0a705146fb15395c27fb95;hb=3055d78f97da105acfc0e207266e902251d2949f;hp=173f74c8298c3fa3989f88b06e2085127fe96db8;hpb=29e1353a7debe4e73cb5d6d2d5a0c4479e9eb768;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