diff options
| author | Kartikaya Gupta <kats@pancake.staktrace.com> | 2021-04-13 13:20:34 -0400 |
|---|---|---|
| committer | Kartikaya Gupta <kats@pancake.staktrace.com> | 2021-05-12 20:42:19 -0400 |
| commit | 4c462bb6f3a5c9122a98cc921123ce6696edfa89 (patch) | |
| tree | c21fc46b706242eb9b9be6c4a44c45fac70169e1 /tests/diff/rename.c | |
| parent | ff78aea6de84e04982b07fcf830555848a400815 (diff) | |
| download | libgit2-4c462bb6f3a5c9122a98cc921123ce6696edfa89.tar.gz | |
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.
Diffstat (limited to 'tests/diff/rename.c')
0 files changed, 0 insertions, 0 deletions
