]> Sergey Matveev's repositories - public-inbox.git/commitdiff
solvergit: deal with false-positive dfpost: results
authorEric Wong <e@80x24.org>
Thu, 31 Oct 2019 03:12:20 +0000 (03:12 +0000)
committerEric Wong <e@80x24.org>
Thu, 31 Oct 2019 03:12:38 +0000 (03:12 +0000)
When solving for blob 81c1164ae5 in https://public-inbox.org/git/,
at least two messages get indexed with the dfpost result for
that blob (after fixing MsgIter to decode all text/* parts):

1. https://public-inbox.org/git/b9fb52b8-8168-6bf0-9a72-1e6c44a281a5@oracle.com/
2. https://public-inbox.org/git/56664222-6c29-09dc-ef78-7b380b113c4a@oracle.com/

However, only the first message contains a usable patch.  So
we must adjust SolverGit to account for multiple messages
hitting the same "dfpost:" search result and attempt
"git apply" on all results, not just the first.

In the future, changes to SearchIdx.pm may rid us of invalid
search results and speed up performance (at the expense of
developer/indexing time); but we need to account for old search
indices, first.


No differences found