Skip to content

Commit

Permalink
Merge branch 'cn/doc-config-bare-subsection'
Browse files Browse the repository at this point in the history
* cn/doc-config-bare-subsection:
  Documentation: update [section.subsection] to reflect what git does
  • Loading branch information
Junio C Hamano committed Oct 21, 2011
2 parents 2070950 + f737632 commit abe2773
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Documentation/config.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit abe2773

Please sign in to comment.