author | Linus Torvalds <torvalds@linux-foundation.org> | |
Fri, 26 Oct 2007 23:56:34 +0000 (16:56 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 27 Oct 2007 06:18:06 +0000 (23:18 -0700) | ||
commit | 42899ac898f2b539fc762c8452da2c981ccbd815 | |
tree | ed94cf1f72ef7d532e95df98adae32f8880f72d8 | tree | snapshot |
parent | 81ac051d6ac9deef9a34de496fb981469aae77f0 | commit | diff |
Do the fuzzy rename detection limits with the exact renames removed
When we do the fuzzy rename detection, we don't care about the
destinations that we already handled with the exact rename detector.
And, in fact, the code already knew that - but the rename limiter, which
used to run *before* exact renames were detected, did not.
This fixes it so that the rename detection limiter now bases its
decisions on the *remaining* rename counts, rather than the original
ones.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
When we do the fuzzy rename detection, we don't care about the
destinations that we already handled with the exact rename detector.
And, in fact, the code already knew that - but the rename limiter, which
used to run *before* exact renames were detected, did not.
This fixes it so that the rename detection limiter now bases its
decisions on the *remaining* rename counts, rather than the original
ones.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
diffcore-rename.c | diff | blob | history |