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

git-config: case insensitivity for subsections

From
milki <milki@rescomp.berkeley.edu>
Date
Aug 18, 2011, 06:35 UTC
Message-ID
<20110818063528.GH13342@hal.rescomp.berkeley.edu>
In git-config(1):

There is also a case insensitive alternative [section.subsection] syntax. In this syntax, subsection names follow the same restrictions as for section names.

If I define [section.SUBSECTION] (aka, not all lowercase), I cannot use: git config section.SUBSECTION.option, but rather only git config section.subsection.option. Furthermore, If I also define a [section "SUBSECTION"], the two sections are not merged.

I believe this differs from the case insensitity that is used for sections: [section] and [SECTION] would be considered the same section.

Is this the proper behaviour for the case insensititve alternative for subsections?

Thanks.
-- 
milki
Next: Jeff King
Message 1 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.