Hi, my initial motivation for this patch was to add NTLM proxy authentication so I could 'git clone' from inside my employers network, but apart from doing that, I also added two more features, so, this patch adds the following improvements to the http proxy support: - Support NTLM proxy authentication (as well as other authentication methods) by setting CURLOPT_PROXYAUTH[1] to CURLAUTH_ANY. - Look up environment vars http_proxy and HTTP_PROXY in case git http.proxy config option is not set. This supports system wide proxy support in terminals. - Support proxy urls with username but without a password, in which case we interactively ask for the password (as it's already done in http auth code). This makes possible to not have the password written down in git config files or in env vars. Thanks! [1] http://curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTPROXYAUTH
Attachment:
gitproxyauthv2.patch
Description: Binary data