]> git.cworth.org Git - notmuch/commit
lib/open: do not consider .notmuch alone as an existing database.
authorDavid Bremner <david@tethera.net>
Sat, 25 Dec 2021 21:22:56 +0000 (17:22 -0400)
committerDavid Bremner <david@tethera.net>
Wed, 29 Dec 2021 18:11:21 +0000 (14:11 -0400)
commit25e0f5e59293ce961549201fdc74f81a3cc1675c
tree03dc3d4369832c198835cc029120d620e25e404a
parente43bad4883cf8a0c1d58d50238da599f9e170307
lib/open: do not consider .notmuch alone as an existing database.

It makes perfect sense for users to want to pre-create .notmuch,
e.g. to install hooks, so we should handle the case of a .notmuch
directory without an actual xapian database more gracefully.
lib/open.cc
test/T055-path-config.sh