Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Correct force_write bug in refs.c
[gitweb.git]
/
http.c
diff --git
a/http.c
b/http.c
index 9604e3326bbc902aed987d2816fdf25450203633..0cb42a85d146c406f8268be423aabeb9e0e90dd0 100644
(file)
--- 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;
}