]> git.cworth.org Git - notmuch-old/commit
lib/open: create database path in some cases next
authorDavid Bremner <david@tethera.net>
Fri, 29 Jul 2022 12:20:01 +0000 (09:20 -0300)
committerDavid Bremner <david@tethera.net>
Thu, 11 Aug 2022 15:40:10 +0000 (12:40 -0300)
commita28986bbd3132d367ce12a62fd4e5def5c19d602
treee4435d7faf8ace48ec08c50eeb6199f09ef0ccd0
parent5be423d42043acf5ccff959bbbe7491bcf0952e0
lib/open: create database path in some cases

There is some duplication of code here, but not all of the locations
valid to find a database make sense to create. Furthermore we nead two
passes, so the control flow in _choose_database_path would get a bit
convoluted.
lib/open.cc
test/T055-path-config.sh
test/T560-lib-error.sh