Skip to content

Fixed outdated diff line service finding wrong diff line index

Phil Hughes requested to merge ph/fixOutdatedDiffLinesStartingIndex into master

What does this MR do and why?

Fixes a bug where if the oudated change happened after the first line the service would return the wrong diff because of matching with nil first for old_line.

Screenshots or screen recordings

How to set up and validate locally

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Phil Hughes

Merge request reports