What does this MR do?
Fix the issue of merge request diffs (in parallel mode) contains multiple bottom match lines. Enable feature by default.
Cause and solution
The bug is caused when
diff_lines_for_serializer gets called many times,
because it modifies
Due to some tech debt, a proper fix would require more time. This is a quick fix by memoize the
diff_lines_for_serializer so it only adds match line at most once.
What are the relevant issue numbers?
Closes #59147 (closed)