]> git.notmuchmail.org Git - notmuch/commit
lib/open: load default values for known configuration keys.
authorDavid Bremner <david@tethera.net>
Thu, 24 Dec 2020 20:10:05 +0000 (16:10 -0400)
committerDavid Bremner <david@tethera.net>
Sat, 6 Feb 2021 23:03:36 +0000 (19:03 -0400)
commit06a64cf0aa2bc3de083d0c317726863ebeed504f
treee9cfa4842af8cc4049c4dc7eb1037bbeaf4e5f2a
parentd6bd87a712c6df3126589ec223f4c599fa8450b5
lib/open: load default values for known configuration keys.

This emulates the behaviour of notmuch_config_open defined in the CLI,
in that it fills in default values if they are not otherwise defined.
lib/config.cc
lib/notmuch-private.h
lib/open.cc
test/T590-libconfig.sh