X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=http.c;h=0cb42a85d146c406f8268be423aabeb9e0e90dd0;hb=300dd93306f4b2281cc05ab2ac809009c99cd713;hp=9604e3326bbc902aed987d2816fdf25450203633;hpb=d293b281276ea6c160ed9589cbf06a44698158e2;p=git.git diff --git a/http.c b/http.c index 9604e3326..0cb42a85d 100644 --- a/http.c +++ b/http.c @@ -195,6 +195,8 @@ static CURL* get_curl_handle(void) if (getenv("GIT_CURL_VERBOSE")) curl_easy_setopt(result, CURLOPT_VERBOSE, 1); + curl_easy_setopt(result, CURLOPT_USERAGENT, GIT_USER_AGENT); + return result; }