]> Sergey Matveev's repositories - public-inbox.git/commit
v2: mirrors don't clobber msgs w/ reused Message-IDs
authorEric Wong <e@80x24.org>
Mon, 18 Oct 2021 05:09:05 +0000 (05:09 +0000)
committerEric Wong <e@80x24.org>
Mon, 18 Oct 2021 05:15:15 +0000 (05:15 +0000)
commit325fbe26c3e7731eb53bea7f2ce2627c8828e0d8
tree22a71079d086ce0a7c1a7caffc99eb930123c47f
parentc51814c647ec83a137be7de3a1baeb7336d318ea
v2: mirrors don't clobber msgs w/ reused Message-IDs

For odd messages with reused Message-IDs, the second message
showing up in a mirror (via git-fetch + -index) should never
clobber an entry with a different blob in over.

This is noticeable only if the messages arrive in-between
indexing runs.

Fixes: 4441a38481ed ("v2: index forwards (via `git log --reverse')")
MANIFEST
lib/PublicInbox/V2Writable.pm
t/v2index-late-dupe.t [new file with mode: 0644]