]> git.cworth.org Git - notmuch/commit
cli/new: only ignore .notmuch at top level
authorDavid Bremner <david@tethera.net>
Sun, 26 Dec 2021 12:24:10 +0000 (08:24 -0400)
committerDavid Bremner <david@tethera.net>
Sun, 16 Jan 2022 14:52:13 +0000 (10:52 -0400)
commit6472dbf4b7fdec3bd59d7622ef477a035e34c67a
tree31a960ac9910836006175c54fa7c145d924fc5e1
parentfd6d50b38f8d8529191f6c9b637ecb458018baa3
cli/new: only ignore .notmuch at top level

Since the bug was first reported in [1], notmuch has gained the
ability to have the database located outside the mail root, hence this
this change differs slightly from Jani's proposed solution [2] in not
using notmuch_database_get_path, but rather the already retrieved
mail_root.

[1]: id:87mwhifu9a.fsf@trouble.defaultvalue.org
[2]: id:87ios5v59p.fsf@nikula.org
notmuch-new.c
test/T050-new.sh