summaryrefslogtreecommitdiff
path: root/alloc.c
diff options
context:
space:
mode:
authorLibravatar Linus Torvalds <torvalds@linux-foundation.org>2011-02-18 20:12:06 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-02-18 22:26:45 -0800
commit3a4d67692b5a80213ca47a603fa5505a5990cc87 (patch)
tree9cc39e3ae9cc0f925040920d8e004a9faf82f3a5 /alloc.c
parentdiffcore-rename: properly honor the difference between -M and -C (diff)
downloadtgif-3a4d67692b5a80213ca47a603fa5505a5990cc87.tar.xz
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>
Diffstat (limited to 'alloc.c')
0 files changed, 0 insertions, 0 deletions