author | Junio C Hamano <gitster@pobox.com> | |
Thu, 6 Jan 2011 21:50:06 +0000 (13:50 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 22 Mar 2011 21:29:07 +0000 (14:29 -0700) | ||
commit | f31027c99cb2ec4eb7ad8d1ebc7f0e20fef4bd1d | |
tree | ecc4d0213fcbd8c270b254cec1caff867034ac7d | tree | snapshot |
parent | e88d6bc6f90059f6e87f6d51eba83ec15e4eecc9 | commit | diff |
diffcore-rename: fall back to -C when -C -C busts the rename limit
When there are too many paths in the project, the number of rename source
candidates "git diff -C -C" finds will exceed the rename detection limit,
and no inexact rename detection is performed. We however could fall back
to "git diff -C" if the number of modified paths is sufficiently small.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
When there are too many paths in the project, the number of rename source
candidates "git diff -C -C" finds will exceed the rename detection limit,
and no inexact rename detection is performed. We however could fall back
to "git diff -C" if the number of modified paths is sufficiently small.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/diff-tree.c | diff | blob | history | |
builtin/log.c | diff | blob | history | |
diff.c | diff | blob | history | |
diff.h | diff | blob | history | |
diffcore-rename.c | diff | blob | history | |
merge-recursive.c | diff | blob | history | |
t/t4001-diff-rename.sh | diff | blob | history |