]> git.notmuchmail.org Git - notmuch/commitdiff
CLI/new: drop the write lock to run the pre-new hook.
authorDavid Bremner <david@tethera.net>
Fri, 19 Mar 2021 01:58:02 +0000 (22:58 -0300)
committerDavid Bremner <david@tethera.net>
Fri, 19 Mar 2021 01:58:02 +0000 (22:58 -0300)
This fixes a bug reported in [1]. In principle it could be possible
avoid one of these reopens, but it complicates the logic in main with
respect to creating new databases.

[1]: id:9C1993DF-84BD-4199-A9C8-BADA98498812@bubblegen.co.uk


No differences found