]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Documentation: update [section.subsection] to reflect what git does
authorCarlos Martín Nieto <cmn@elego.de>
Wed, 12 Oct 2011 15:52:06 +0000 (17:52 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 16 Oct 2011 07:22:31 +0000 (00:22 -0700)
Using the [section.subsection] syntax, the subsection is transformed
to lower-case and is matched case sensitively. Say so in the
documentation and mention that you shouldn't be using it anyway.

Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config.txt

index d82c0da2cf470dbfe7936762d4645b7509647177..fd998dd37c33bedc413209bd36053c4dec8578a3 100644 (file)
@@ -45,9 +45,10 @@ lines.  Variables may belong directly to a section or to a given subsection.
 You can have `[section]` if you have `[section "subsection"]`, but you
 don't need to.
 
-There is also a case insensitive alternative `[section.subsection]` syntax.
-In this syntax, subsection names follow the same restrictions as for section
-names.
+There is also a deprecated `[section.subsection]` syntax. With this
+syntax, the subsection name is converted to lower-case and is also
+compared case sensitively. These subsection names follow the same
+restrictions as section names.
 
 All the other lines (and the remainder of the line after the section
 header) are recognized as setting variables, in the form