]> Sergey Matveev's repositories - public-inbox.git/commitdiff
config: warn on multiple values for some fields
authorEric Wong <e@80x24.org>
Sun, 20 Sep 2020 01:43:15 +0000 (01:43 +0000)
committerEric Wong <e@80x24.org>
Sun, 20 Sep 2020 18:16:24 +0000 (18:16 +0000)
Our code doesn't support multi-values for these, and having
unexpected arrays leads to unexpected results (e.g. showing
stuff like "ARRAY(0xDEADBEEFADD12E55)" in user interfaces).  So
warn and only use the last value (matching git-config(1)
behavior without `--get-all').


No differences found