summaryrefslogtreecommitdiff
path: root/Documentation/git-config.txt
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2018-08-20 12:41:32 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-08-20 12:41:32 -0700
commit2a2c18f1c3ae3fbade32df11719f24e8d6a6709c (patch)
treefeddd20937d368bfd32354954f31dcfc026b3833 /Documentation/git-config.txt
parentMerge branch 'ab/submodule-relative-url-tests' (diff)
parentgit-config: document accidental multi-line setting in deprecated syntax (diff)
downloadtgif-2a2c18f1c3ae3fbade32df11719f24e8d6a6709c.tar.xz
Merge branch 'sb/config-write-fix'
Recent update to "git config" broke updating variable in a subsection, which has been corrected. * sb/config-write-fix: git-config: document accidental multi-line setting in deprecated syntax config: fix case sensitive subsection names on writing t1300: document current behavior of setting options
Diffstat (limited to 'Documentation/git-config.txt')
-rw-r--r--Documentation/git-config.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/Documentation/git-config.txt b/Documentation/git-config.txt
index 18ddc78f42..8e240435be 100644
--- a/Documentation/git-config.txt
+++ b/Documentation/git-config.txt
@@ -453,6 +453,27 @@ http.sslverify false
include::config.txt[]
+BUGS
+----
+When using the deprecated `[section.subsection]` syntax, changing a value
+will result in adding a multi-line key instead of a change, if the subsection
+is given with at least one uppercase character. For example when the config
+looks like
+
+--------
+ [section.subsection]
+ key = value1
+--------
+
+and running `git config section.Subsection.key value2` will result in
+
+--------
+ [section.subsection]
+ key = value1
+ key = value2
+--------
+
+
GIT
---
Part of the linkgit:git[1] suite