]> git.cworth.org Git - notmuch/commit
Change database to store only a single thread ID per message.
authorCarl Worth <cworth@cworth.org>
Sun, 25 Oct 2009 21:54:13 +0000 (14:54 -0700)
committerCarl Worth <cworth@cworth.org>
Sun, 25 Oct 2009 21:54:13 +0000 (14:54 -0700)
commita360670c03475b1489ea5e2327cc3037cc8dff0b
treee30dd0679d50c5c89de11936139be28b3a93b573
parentec77f6b50cb460dc8c376eeee045a25ed390c337
Change database to store only a single thread ID per message.

Instead of supporting multiple thread IDs, we now merge together
thread IDs if one message is ever found to belong to more than one
thread. This allows for constructing complete threads when, for
example, a child message doesn't include a complete list of References
headers back to the beginning of the thread.

It also simplifies dealing with mapping a message ID to a thread ID
which is now a simple get_thread_id just like get_message_id, (and no
longer an iterator-based thing like get_tags).
database.cc
message.cc
notmuch-private.h
notmuch.h