Fix overriding database path when opening a different file.

Subject: Fix overriding database path when opening a different file.

Date: Wed, 27 Oct 2021 22:34:16 -0300

To: notmuch@notmuchmail.org

Cc:

From: David Bremner


As mentioned in [1], currently libnotmuch gets a bit confused if one
database path is specified as a parameter and a different one in
config. This series makes that more precise with a test and fixes the
bug by keeping a bit (literally) of information in the
notmuch_database_t object.

It needs to be applied on top of the series at [2], since it re-uses a
bit of the test infrastructure.

[1]: id:20211027023653.3535874-1-david@tethera.net
[2]: id:20211023132238.1864400-2-david@tethera.net

_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: