summaryrefslogtreecommitdiff
path: root/diff-cache.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-05-24 19:09:32 (GMT)
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-25 00:47:05 (GMT)
commit85976974581060716311d6807b03a671cb71cbde (patch)
tree3e10a2cd51b3f118abea32bfbcf5873337bfe2ef /diff-cache.c
parentbba0f401eea22ddc345df8aa32ac0ccb2c73dc15 (diff)
downloadgit-85976974581060716311d6807b03a671cb71cbde.zip
git-85976974581060716311d6807b03a671cb71cbde.tar.gz
git-85976974581060716311d6807b03a671cb71cbde.tar.bz2
[PATCH] Update rename/copy similarity estimator.
The second round similarity estimator simply used the size of the xdelta itself to estimate the extent of damage. This patch keeps that logic to detect big insertions to terminate the check early, but otherwise looks at the generated delta in order to estimate the extent of edit more accurately. Signed-off-by: Junio C Hamano <junkio@cox.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'diff-cache.c')
0 files changed, 0 insertions, 0 deletions