]> git.cworth.org Git - notmuch/commit
CLI/show: mostly switch show to new config framework
authorDavid Bremner <david@tethera.net>
Sat, 8 Aug 2020 14:16:53 +0000 (11:16 -0300)
committerDavid Bremner <david@tethera.net>
Sat, 6 Feb 2021 23:27:54 +0000 (19:27 -0400)
commit6c28039ebba0a363320e9b7d194b86b53703015f
tree44e6d7168f3f88841530eb73e6bd730d4d4c0b9b
parentdd6b50709970ad08fbf0a09111bd3a0c31455518
CLI/show: mostly switch show to new config framework

This will need some cleanup when the transition completes, and we stop
passing notmuch_config_t structs to the subcommands.

Unlike the general case, we open the database in the subcommand, since
we don't know whether it should be opened read/write until we parse
the command line arguments.

Add a test to make sure passing config file on the command line is not
broken by these or future config related changes.
notmuch-show.c
test/T035-read-config.sh