]> Sergey Matveev's repositories - public-inbox.git/commit
import: rewrite less history during purge
authorEric Wong (Contractor, The Linux Foundation) <e@80x24.org>
Wed, 4 Apr 2018 21:24:58 +0000 (21:24 +0000)
committerEric Wong (Contractor, The Linux Foundation) <e@80x24.org>
Wed, 4 Apr 2018 21:54:42 +0000 (21:54 +0000)
commitb4d127cb83230fe5cee0dcecb573107ad96a7c4c
tree764d61dc4043e368248165d75dd3dbd4312c2ce4
parent89537db2ca4b506a7b7500dcd7b7c5430a0a6dc7
import: rewrite less history during purge

We do not need to rewrite old commits unaffected by the object_id
purge, only newer commits.  This was a state management bug :x

We will also return the new commit ID of rewritten history to
aid in incremental indexing of mirrors for the next change.
lib/PublicInbox/Import.pm
lib/PublicInbox/V2Writable.pm
t/v2writable.t