return ret;
}
-void http_error(const char *url)
-{
- error("unable to access '%s': %s", url, curl_errorstr);
-}
-
int http_fetch_ref(const char *base, struct ref *ref)
{
char *url;
*/
int http_get_strbuf(const char *url, struct strbuf *content_type, struct strbuf *result, int options);
-/*
- * Prints an error message using error() containing url and curl_errorstr.
- */
-void http_error(const char *url);
-
extern int http_fetch_ref(const char *base, struct ref *ref);
/* Helpers for fetching packs */