]> git.notmuchmail.org Git - notmuch/commit
lib/config: use g_key_file_get_string to read config values
authorDavid Bremner <david@tethera.net>
Thu, 30 Sep 2021 18:59:54 +0000 (15:59 -0300)
committerDavid Bremner <david@tethera.net>
Sat, 4 Dec 2021 16:17:09 +0000 (12:17 -0400)
commit18cdd21b8b2ef056062700607eade43909c32cd2
tree9aa1d32d40c23c74794c998bfa8cdcb93f4558c9
parent482bd3a46de34c5f6c5cae3696fd56ffdadc6299
lib/config: use g_key_file_get_string to read config values

Unlike the previous g_key_file_get_value, this version processes
escape codes for whitespace and \. The remaining two broken tests from
the last commit are because "notmuch config get" treats every value as
a list, and thus the previously introduces stripping of leading
whitespace applies.
lib/config.cc
lib/open.cc
test/T030-config.sh