break;
case HTTP_MISSING_TARGET:
show_http_message(&type, &buffer);
- die("%s not found: did you run git update-server-info on the"
- " server?", refs_url);
+ die("repository '%s' not found", url);
case HTTP_NOAUTH:
show_http_message(&type, &buffer);
- die("Authentication failed");
+ die("Authentication failed for '%s'", url);
default:
show_http_message(&type, &buffer);
- http_error(refs_url, http_ret);
- die("HTTP request failed");
+ die("unable to access '%s': %s", url, curl_errorstr);
}
last= xcalloc(1, sizeof(*last_discovery));