Re: [RFC] a tale of Git 2.5, ssh transport and GIT_* environment variables
- From
Jeff King <peff@peff.net>
- Date
- Sep 4, 2015, 21:44 UTC
- Message-ID
- <20150904214454.GA18320@sigill.intra.peff.net>
- In-Reply-To
- <xmqqpp1yf3qe.fsf@gitster.mtv.corp.google.com>
On Fri, Sep 04, 2015 at 11:18:01AM -0700, Junio C Hamano wrote:
Show 9 quoted lines
> Jeff King <peff@peff.net> writes: > > > It shouldn't be necessary for $GIT_DIR, but it makes sense for other git > > variables. E.g., with "AcceptEnv GIT_*", "git -c" config is propagated. > > E.g.: > > ... > > Just to make sure I got you correctly, you are saying that "we > propagate, but that is not correct. We should stop doing so", right?
Exactly. We do not propagate config over git:// or http:// (because we do not share our environment). Nor do we do so over same-machine connections (because we explicitly clean the environment). So ssh:// is the odd duck.
-Peff