X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=http-fetch.c;h=99921cc8da13abc33b389f9df691f56200d20ef3;hb=592ee97d8fffa2318960074057e044709163abf7;hp=88b74b434194b0648c21225bac9ecfbe05491a93;hpb=f4f440a039587c14ca29a8fe127b4d5273eacafc;p=git.git diff --git a/http-fetch.c b/http-fetch.c index 88b74b43..99921cc8 100644 --- a/http-fetch.c +++ b/http-fetch.c @@ -269,6 +269,8 @@ static CURL* get_curl_handle(void) curl_low_speed_time); } + curl_easy_setopt(result, CURLOPT_FOLLOWLOCATION, 1); + return result; }