Let git-clone/git-fetch follow HTTP redirections
[git.git] / http-fetch.c
index 88b74b4..99921cc 100644 (file)
@@ -269,6 +269,8 @@ static CURL* get_curl_handle(void)
                                 curl_low_speed_time);
        }
 
+       curl_easy_setopt(result, CURLOPT_FOLLOWLOCATION, 1);
+
        return result;
 }