]> git.notmuchmail.org Git - notmuch/commit
lib/config: add configuration variable for backup directory
authorDavid Bremner <david@tethera.net>
Wed, 17 Feb 2021 15:04:54 +0000 (11:04 -0400)
committerDavid Bremner <david@tethera.net>
Sat, 20 Mar 2021 10:51:36 +0000 (07:51 -0300)
commita7873df331bcd53dd1bc8da95c4279163437cc13
tree4713a9deb8323509023dd2f091aa0eb85280c809
parente3a4abc513d314cf7550d43fdcba458421a2daac
lib/config: add configuration variable for backup directory

Like the hook directory, we primarily need a way to communicate this
directory between various components, but we may as well let the user
configure it.

Most of the diff is generalizing choose_hook_dir to work for both
backup and hook directories.
lib/config.cc
lib/notmuch.h
lib/open.cc
test/T590-libconfig.sh