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

Re: git-config(1) should mention `git -c`

From
David Glasser <glasser@davidglasser.net>
Date
Aug 23, 2016, 17:33 UTC
Message-ID
<CAN7QDoJ3dv1MYjKGXgrC46K+xnUv5=PCrfqgSrJQbQ3kjBu6+A@mail.gmail.com>
In-Reply-To
<xmqqpoozwgm5.fsf@gitster.mtv.corp.google.com>
On Tue, Aug 23, 2016 at 10:16 AM, Junio C Hamano <gitster@pobox.com> wrote:
Show 20 quoted lines
> Jeff King <peff@peff.net> writes:
>
>> That seems like the most sensible place, as that is where we should
>> cover the order of reading and precedence. Perhaps FILES should be
>> renamed to SOURCES or something (though I do not recall if we are
>> restricted to "usual" manpage section names or not).
>>
>> Arguably this is not about git-config the program at all, but the
>> general concept of "configuration for git", because the precedence rules
>> apply equally to all of the git programs that read config.
>
> True, but that argument leads us to say git(1) is the best place ;-)
>
> If the user wants to know "how does the configuration values get
> read?", and wishes not having to go around fishing for the
> information in multiple places (and I think that is a reasonable
> thing to wish for), I think adding it to the FILES section of
> git-config(1) is a better option than inventing a separate
> gitconfig(7), which would still require the user to consult two
> places.

Great, I sent a patch in a new thread. I hope I formatted it correctly; haven't sent a patch via email in a while.

-- 
glasser@davidglasser.net | langtonlabs.org | flickr.com/photos/glasser/
Previous: Junio C HamanoNext: Jeff King
Message 4 of 5 in “git-config(1) should mention `git -c`”
  1. David GlasserAug 22, 2016
  2. Jeff KingAug 22, 2016
  3. Junio C HamanoAug 23, 2016
  4. David GlasserAug 23, 2016
  5. Jeff KingAug 23, 2016

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.