git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: What's cooking in git.git (Apr 2012, #09; Mon, 23)

From
Junio C Hamano <gitster@pobox.com>
Date
Apr 24, 2012, 18:57 UTC
Message-ID
<xmqqipgpgdpl.fsf@junio.mtv.corp.google.com>
In-Reply-To
<4F966F0C.6090504@seap.minhap.es>
Nelson Benitez Leon <nelsonjesus.benitez@seap.minhap.es> writes:
Show 14 quoted lines
> My original patch already peeked in HTTPS_PROXY env var, I post the
> relevant part:
>  
> +	if (!curl_http_proxy) {
> +		const char *env_proxy, *no_proxy;
> +		char *env_proxy_var;
> +		int read_http_proxy;
> +		struct strbuf buf = STRBUF_INIT;
> +		credential_from_url(&cre_url, url);
> +		strbuf_addf(&buf, "%s_proxy", cre_url.protocol);
> +		env_proxy_var = strbuf_detach(&buf, NULL);
> +		env_proxy = getenv(env_proxy_var);
>
>                 ^^ HERE ^^
When cre_url.protocol is "https", this looks at $ENV{"https_proxy"}, no?
    http://curl.haxx.se/docs/manpage.html#ENVIRONMENT
> so are you referring to something else ?

There may be some other things that break people's settings but regarding PROXY, the above was wnat I was referring to.

Previous: Nelson Benitez LeonNext: Nelson Benitez Leon
Message 3 of 13 in “What's cooking in git.git (Apr 2012, #09; Mon, 23)”
  1. Junio C HamanoApr 23, 2012
  2. Nelson Benitez LeonApr 24, 2012
  3. Junio C HamanoApr 24, 2012
  4. Try an uppercase version of $prot_proxy env varNelson Benitez Leon, Apr 26, 2012
  5. Jeff KingApr 26, 2012
  6. Junio C HamanoApr 26, 2012
  7. Nelson Benitez LeonApr 26, 2012
  8. Jeff KingApr 27, 2012
  9. Junio C HamanoApr 27, 2012
  10. Junio C HamanoApr 26, 2012
  11. What's cooking (incremental)Junio C Hamano, Apr 25, 2012
  12. Thomas RastApr 25, 2012
  13. Junio C HamanoApr 25, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.