Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH] git.txt: update description of the configuration mechanism

From: Matthieu Moy <hidden>
Date: 2016-06-15 22:56:09

Michael J Gruber [off-list ref] writes:
Matthieu Moy venit, vidit, dixit 14.02.2013 16:36:
quoted
The old Git version where it appeared is not useful only to historians,
not to normal users. Also, the text was mentioning only the per-repo
I do not think you meant to not remove so many nots ;)
The first was meant to be "now", indeed.
Besides, if history is uninteresting, then so is sociology: "familiar to
some people" can go, too.
It can, but I'm fine with keeping it too. It may help some users to
realize "ah, OK, the same ini file I'm used to". And it doesn't really
harm.
quoted
config file, so add a mention of ~/.gitconfig. Describing in details the
system-wide, XDG and all would be counter-productive here, so reword the
Hmpf, I think this gives a way too prominent role to "~/.gitconfig". The
config files most people will have to deal with are:

- the repo config file
- the one set by "config --global"

And really, it would often be best if the latter was the XDG thing.
That's a different question. For now, ~/.gitconfig is the default
destination of "config --global" and we should wait for XDG-aware Gits
to be widely deployed before reconsidering that.

If the XDG config file ever become the default, then sure, it will have
to be promoted instead of ~/.gitconfig in git.txt (and I'll be all for
it when it's time, even though I can foresee a few flamewars ;-) ), but
I don't think we should do that now.

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help