]> git.notmuchmail.org Git - notmuch/commit
lib/thread: change _resolve_thread_relationships to use depths
authorDavid Bremner <david@tethera.net>
Thu, 30 Aug 2018 11:29:10 +0000 (08:29 -0300)
committerDavid Bremner <david@tethera.net>
Thu, 6 Sep 2018 11:07:13 +0000 (08:07 -0300)
commit46dce33abc82ea6ebd3be2e0887506af4185c739
treecdb3ca606c7fcf77e9eb5c7e9c45de77b45aeaa0
parent21803df6aeb20ff2e91068988441f10fc4b6853a
lib/thread: change _resolve_thread_relationships to use depths

We (finally) implement the XXX comment. It requires a bit of care not
to reparent all of the possible toplevel messages.

_notmuch_messages_has_next is not ready to be a public function yet,
since it punts on the mset case. We know in the one case it is called,
the notmuch_messages_t is just a regular list / iterator.
lib/messages.c
lib/notmuch-private.h
lib/thread.cc
test/T510-thread-replies.sh