]> git.notmuchmail.org Git - notmuch/commit
lib: index message files with duplicate message-ids
authorDavid Bremner <david@tethera.net>
Sun, 4 Jun 2017 12:32:29 +0000 (09:32 -0300)
committerDavid Bremner <david@tethera.net>
Wed, 2 Aug 2017 01:17:47 +0000 (21:17 -0400)
commit411675a6ce78988157c4a078f504b3b7805e54c6
tree8c8c35bb81d839383a78e7c486c753157c0a9b9f
parent639aced9c9e2a272b893f63e0d8057200a5ef3b7
lib: index message files with duplicate message-ids

The corresponding xapian document just gets more terms added to it,
but this doesn't seem to break anything. Values on the other hand get
overwritten, which is a bit annoying, but arguably it is not worse to
take the values (from, subject, date) from the last file indexed
rather than the first.
lib/add-message.cc
test/T160-json.sh
test/T670-duplicate-mid.sh