Thread (6 messages) flat view 6 messages, 3 authors, 2016-06-15

Re: [PATCH] config: introduce GIT_GLOBAL_CONFIG to override ~/.gitconfig

From: Ramkumar Ramachandra <hidden>
Date: 2016-06-15 22:54:53

Jeff King wrote:
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help