Re: [PATCH] config: introduce GIT_GLOBAL_CONFIG to override ~/.gitconfig
- From
Ramkumar Ramachandra <artagnon@gmail.com>
- Date
- Sep 28, 2012, 07:05 UTC
- Message-ID
- <CALkWK0=CCLrfM2Jr_JNVP0VQnp1dvRAkDjRrTsogvpD8rGrumw@mail.gmail.com>
- In-Reply-To
- <20120927173532.GD1547@sigill.intra.peff.net>
Jeff King wrote:
Show 7 quoted lines
> Like the other reviews, I am not overly enthused. If we are going to add > a new variable, I think $GIT_HOME makes a lot more sense. But it really > sounds like using $XDG_CONFIG_HOME would be even simpler. > > Also, have you considered using a config include? Like: > > $ echo '[include]path = ~/my-dotfiles/gitconfig' >~/.gitconfig
Sounds like this is the way to go. Or I could pick up Junio's suggestion to use a Makefile. I'll discontinue working on the patch.
Thanks.
Ram