summaryrefslogtreecommitdiff
path: root/diffcore.h
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-03-03 06:11:25 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-03-03 06:12:33 (GMT)
commit1706306a54cfb5f1bf65f2b054aab2a5a7dba8e7 (patch)
treebdbcdf6d3b00771cd7d0b8c01d421bef47b30cdc /diffcore.h
parente29e1147e485654d90a0ea0fd5fb7151bb194265 (diff)
downloadgit-1706306a54cfb5f1bf65f2b054aab2a5a7dba8e7.zip
git-1706306a54cfb5f1bf65f2b054aab2a5a7dba8e7.tar.gz
git-1706306a54cfb5f1bf65f2b054aab2a5a7dba8e7.tar.bz2
diffcore-rename: similarity estimator fix.
The "similarity" logic was giving added material way too much negative weight. What we wanted to see was how similar the post-change image was compared to the pre-change image, so the natural definition of similarity is how much common things are there, relative to the post-change image's size. This simplifies things a lot. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'diffcore.h')
0 files changed, 0 insertions, 0 deletions