Re: GIT_CONFIG - what's the point?
- From
Jeff King <peff@peff.net>
- Date
- Apr 1, 2016, 12:38 UTC
- Message-ID
- <20160401123830.GB12019@sigill.intra.peff.net>
- In-Reply-To
- <CAL20dLDQsti1qW7CrrEifPAhPp1snq9r5MgJL+mDwhLqhe6fyQ@mail.gmail.com>
On Thu, Mar 31, 2016 at 08:54:26PM -0400, Matthew Persico wrote:
> So, what's the point of GIT_CONFIG if only git-config uses it? Or did > I miss a step?
There isn't a point to it. It's historical cruft that has been left in to avoid breaking older scripts. The same thing is generally better accomplished by using git-config's "--file" parameter. We should probably do a better job of making that clear in the documentation.
Or possibly deprecate it and eventually remove it entirely, as discussed in:
http://thread.gmane.org/gmane.linux.debian.devel.bugs.general/1195694/focus=257770
-Peff