Re: [PATCH 1/3] CLI: stash pointer to database in sprinter structs

Subject:Re: [PATCH 1/3] CLI: stash pointer to database in sprinter structs

Date:Tue, 18 Jan 2022 08:14:30 -0400

To:notmuch@notmuchmail.org

Cc:

From:David Bremner


David Bremner <david@tethera.net> writes:

> We already use an allocated (and presumably open) database as a talloc
> context. Keeping the pointer in the allocated struct will allow us to
> e.g. interrogate the configuration in a sprinter function without
> threading the database all the way through the various levels of function.

Series applied to master.

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

Thread: