Fix squash with renamed files
What does this MR do?
Fixes squashing when a renamed file exists in the diff.
Are there points in the code the reviewer needs to double check?
Don't think so!
Why was this MR needed?
This has been broken for the last year, since we added squashing.
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary -
Tests added for this feature/bug - Review
-
Has been reviewed by Backend
-
What are the relevant issue numbers?
Edited by Grzegorz Bizon