Files
git/Documentation
Stefan Beller bff7df7a87 git-config: document accidental multi-line setting in deprecated syntax
The bug was noticed when writing the previous patch; a fix for this bug
is not easy though: If we choose to ignore the case of the subsection
(and revert most of the code of the previous patch, just keeping
s/strncasecmp/strcmp/), then we'd introduce new sections using the
new syntax, such that

 --------
   [section.subsection]
     key = value1
 --------

  git config section.Subsection.key value2

would result in

 --------
   [section.subsection]
     key = value1
   [section.Subsection]
     key = value2
 --------

which is even more confusing. A proper fix would replace the first
occurrence of 'key'. As the syntax is deprecated, let's prefer to not
spend time on fixing the behavior and just document it instead.

Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2018-08-08 13:26:48 -07:00
..
2018-03-22 14:24:45 -07:00
2017-11-17 10:31:05 +09:00
2016-07-13 11:24:14 -07:00
2017-04-13 16:15:25 -07:00
2017-11-06 14:24:24 +09:00
2016-08-11 14:35:42 -07:00
2017-06-27 10:35:49 -07:00
2017-01-18 15:12:18 -08:00
2017-05-01 11:01:52 +09:00