]> git.notmuchmail.org Git - notmuch/commit
CLI/setup: special case single item lists
authorDavid Bremner <david@tethera.net>
Mon, 17 Jan 2022 23:54:53 +0000 (19:54 -0400)
committerDavid Bremner <david@tethera.net>
Mon, 24 Jan 2022 13:32:39 +0000 (09:32 -0400)
commit88633bc7a79d47ba96879f698ec2267f2d3f6766
tree2fc3d184f872a390ef83d721029493cc606dbddd
parent82e1279790bb352c5716ad25703283b09f42730f
CLI/setup: special case single item lists

This matches the heuristic used by "notmuch config set" to decide if
something is a list.

This change fixes the bug reported at [1].

[1]: id:6O3LTUhoXlrnkPWCtPJCP4cagU7mFVEdyTpcC_37BoSzStlARXDBa7oczy6hB0jyjGjBQvgj_jFV58cw0aNx-jUg1h1O-FQ7820k68C0X4M=@protonmail.com
notmuch-config.c
test/T040-setup.sh
test/setup.expected-output/config-with-comments