]> git.notmuchmail.org Git - notmuch/commit
CLI/config: remove calls to notmuch_config_open from top level
authorDavid Bremner <david@tethera.net>
Sat, 27 Feb 2021 13:22:32 +0000 (09:22 -0400)
committerDavid Bremner <david@tethera.net>
Wed, 7 Apr 2021 00:32:36 +0000 (21:32 -0300)
commitec4b7efbe4bd6d50bd6046bac5f7ef4ceaa30154
treeeddfc4417ad06ddb22498aeabaef37c15810781a
parent77d4b26d3e374afac0012148a8ac0a08158406f1
CLI/config: remove calls to notmuch_config_open from top level

This will allow simplifying the subcommand interface.

Change the internal API to notmuch_config_open to not tie it to the
implementation of subcommands in notmuch.c.

It also fixes a previously broken test, since notmuch_config_open does
not understand the notion of the empty string as a config file name.
notmuch-client.h
notmuch-config.c
notmuch-setup.c
notmuch.c
test/T055-path-config.sh