From: David Bremner Date: Fri, 19 Mar 2021 01:58:02 +0000 (-0300) Subject: CLI/new: drop the write lock to run the pre-new hook. X-Git-Tag: 0.32_rc0~57 X-Git-Url: https://git.notmuchmail.org/git?a=commitdiff_plain;h=a9f74aeeb9ade477d5b80c1c2700945d6c50adb1;hp=a9f74aeeb9ade477d5b80c1c2700945d6c50adb1;p=notmuch CLI/new: drop the write lock to run the pre-new hook. 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 ---