]> git.notmuchmail.org Git - notmuch/commit
lib/open: restore default database path of $HOME/mail
authorDavid Bremner <david@tethera.net>
Mon, 10 May 2021 10:39:18 +0000 (07:39 -0300)
committerDavid Bremner <david@tethera.net>
Sat, 15 May 2021 11:40:05 +0000 (08:40 -0300)
commitb3258244c84a7673db39c46cad96ddb63b131dae
tree404daa0604888bcd7c5063fa83fecbdcf4bf0de0
parent0e8795b28c809861e81dd50653a5355333cbcd59
lib/open: restore default database path of $HOME/mail

Although this default worked for "notmuch config get", it didn't work
most other places. Restore the previous functionality, with the
wrinkle that XDG locations will shadow $HOME/mail if they exist.

This fixes a bug reported by Jack Kamm in id:87eeefdc8b.fsf@gmail.com
lib/open.cc
test/T055-path-config.sh
test/T560-lib-error.sh
test/T590-libconfig.sh