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

Re: git-config: case insensitivity for subsections

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 25, 2011, 21:32 UTC
Message-ID
<7vpqjti3dq.fsf@alter.siamese.dyndns.org>
In-Reply-To
<20110825205849.GA10384@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 13 quoted lines
> I'm not sure it makes sense to do so. I can see how:
>
>   [section.SUBSECTION]
>
> and
>
>   [section.subsection]
>
> should be merged. But isn't:
>
>   [section "SUBSECTION"]
>
> conceptually a different section entirely?

I still recall getting scolded by Linus after writing [sec.tion]; this was way back when he was still active on this list. I essentially was told that [sec "tion"] is _the_ only supported way, and [sec.tion] may work but it purely does by accident, not by design.

Do we still even list the bogus [section.SUBSECTION] syntax anywhere in our docs? If so, we should remove them and if not we simply just should deprecate the code to read such input.

Previous: Jeff KingNext: Jeff King
Message 3 of 9 in “git-config: case insensitivity for subsections”
  1. milkiAug 18, 2011
  2. Jeff KingAug 25, 2011
  3. Junio C HamanoAug 25, 2011
  4. Jeff KingAug 25, 2011
  5. milkiAug 25, 2011
  6. Alex VandiverAug 29, 2011
  7. milkiAug 29, 2011
  8. Jeff KingAug 29, 2011
  9. Alex VandiverAug 29, 2011

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.