]> git.notmuchmail.org Git - notmuch/commit
lib/thread: sort sibling messages by date
authorDavid Bremner <david@tethera.net>
Thu, 30 Aug 2018 11:29:04 +0000 (08:29 -0300)
committerDavid Bremner <david@tethera.net>
Thu, 6 Sep 2018 11:07:12 +0000 (08:07 -0300)
commit9b568e73e1afc211306d18dac3d27df4a07a0fdd
tree6aa0051c84141d2d1465e4bccd4a5672218697a5
parentccb52edb4c9fecd65a5a2577b6d1e96c4b8de492
lib/thread: sort sibling messages by date

For non-root messages, this should not should anything currently, as
the messages are already added in date order. In the future we will
add some non-root messages in a second pass out of order and the
sorting will be useful. It does fix the order of multiple
root-messages (although it is overkill for that).
lib/message.cc
lib/notmuch-private.h
lib/thread.cc
test/T510-thread-replies.sh