summaryrefslogtreecommitdiff
path: root/Documentation/config.txt
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@elego.de>2011-10-12 15:52:06 (GMT)
committerJunio C Hamano <gitster@pobox.com>2011-10-16 07:22:31 (GMT)
commitf737632938868adaa0e8f777235e8e15d40ab14c (patch)
tree9a1d34eb1f865b532d9883c64f5fc63ff07c62f7 /Documentation/config.txt
parent87b50542a08ac6caa083ddc376e674424e37940a (diff)
downloadgit-f737632938868adaa0e8f777235e8e15d40ab14c.zip
git-f737632938868adaa0e8f777235e8e15d40ab14c.tar.gz
git-f737632938868adaa0e8f777235e8e15d40ab14c.tar.bz2
Documentation: update [section.subsection] to reflect what git does
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>
Diffstat (limited to 'Documentation/config.txt')
-rw-r--r--Documentation/config.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt
index d82c0da..fd998dd 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -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