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