]> git.notmuchmail.org Git - notmuch/commit
lib/n_d_index_file: re-use thread-id of existing message
authorDavid Bremner <david@tethera.net>
Sat, 15 May 2021 18:40:22 +0000 (15:40 -0300)
committerDavid Bremner <david@tethera.net>
Sat, 22 May 2021 12:08:02 +0000 (09:08 -0300)
commit3f4de98e7c8c70f9a86a4f899147126f79907bd9
treec42e2ea2640282b1f44992c60b1f2c2b2f53d476
parent349fc2980346db2dba619cda5d9cdf0d943d3053
lib/n_d_index_file: re-use thread-id of existing message

This prevents the message document getting multiple thread-id terms
when there are multiple files with the same message-id.

This change shifts some thread ids, requiring adjustments to other tests.
lib/add-message.cc
test/T357-index-decryption.sh
test/T670-duplicate-mid.sh