Commit 4c462bb6f3a5c9122a98cc921123ce6696edfa89

Kartikaya Gupta 2021-04-13T13:20:34

diff: Fix bug in git_diff_find_similar. When a split src gets turned into a rename, it should also lose the IS_RENAME_TARGET flag, so that it doesn't get processed in a subsequent iteration as a rename target. Doing so can cause an assertion failure because it no longer has the SPLIT flag. Fixes #5811.