git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
Date
Feb 14, 2013, 16:23 UTC
Message-ID
<vpqzjz6ampm.fsf@grenoble-inp.fr>
In-Reply-To
<511D0D88.6010302@drmicha.warpmail.net>
Michael J Gruber <git@drmicha.warpmail.net> writes:
Show 5 quoted lines
> Matthieu Moy venit, vidit, dixit 14.02.2013 16:36:
>> 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.

Show 10 quoted lines
>> 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/
Previous: Michael J GruberNext: Junio C Hamano
Message 3 of 8 in “git.txt: update description of the configuration mechanism”
  1. git.txt: update description of the configuration mechanismMatthieu Moy, Feb 14, 2013
  2. Michael J GruberFeb 14, 2013
  3. Matthieu MoyFeb 14, 2013
  4. Junio C HamanoFeb 14, 2013
  5. Matthieu MoyFeb 14, 2013
  6. Junio C HamanoFeb 14, 2013
  7. Michael J GruberFeb 15, 2013
  8. Junio C HamanoFeb 14, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.