author | Linus Torvalds <torvalds@linux-foundation.org> | |
Sat, 19 Feb 2011 04:12:06 +0000 (20:12 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 19 Feb 2011 06:26:45 +0000 (22:26 -0800) | ||
commit | 3a4d67692b5a80213ca47a603fa5505a5990cc87 | |
tree | 9cc39e3ae9cc0f925040920d8e004a9faf82f3a5 | tree | snapshot |
parent | 0940e5f211452ec2520d1b04233acddf0a872c06 | commit | diff |
diffcore-rename: improve estimate_similarity() heuristics
The logic to quickly dismiss potential rename pairs was broken. It
would too eagerly dismiss possible renames when all of the difference
was due to pure new data (or deleted data).
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The logic to quickly dismiss potential rename pairs was broken. It
would too eagerly dismiss possible renames when all of the difference
was due to pure new data (or deleted data).
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
diffcore-rename.c | diff | blob | history |