]> git.notmuchmail.org Git - notmuch/commit
CLI/{search,address}: convert to new configuration framework
authorDavid Bremner <david@tethera.net>
Sat, 8 Aug 2020 14:16:52 +0000 (11:16 -0300)
committerDavid Bremner <david@tethera.net>
Sat, 6 Feb 2021 23:23:28 +0000 (19:23 -0400)
commitd613d10ddd5948b4fa5a186fc54752047b25023d
treea25f5bcc8eddde813a87da0029cd17364ae32676
parent8588719eb1bb14367464214f304b6f93452124c7
CLI/{search,address}: convert to new configuration framework

Since we are already passing a search context around as a kind of
parameter block, add a new talloc context to that to replace relying
on 'config'.

Convert notmuch-search and notmuch-address at the same time, because
they share some code.

Add a test to make sure we don't break passing configuration as a
command line argument.
notmuch-search.c
notmuch.c
test/T035-read-config.sh
test/T750-user-header.sh