summaryrefslogtreecommitdiff
path: root/diff-tree.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-05-21 22:55:18 (GMT)
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-21 23:22:57 (GMT)
commit58b103f55d5b95dc24cce2fb4f64e697958fd204 (patch)
treef04b5da80a0a50880495563a367a5b18a9413828 /diff-tree.c
parentd6db01075b65da2b8584a0450619390893aae103 (diff)
downloadgit-58b103f55d5b95dc24cce2fb4f64e697958fd204.zip
git-58b103f55d5b95dc24cce2fb4f64e697958fd204.tar.gz
git-58b103f55d5b95dc24cce2fb4f64e697958fd204.tar.bz2
[PATCH] Tweak diffcore-rename heuristics.
The heuristics so far was to compare file size change and xdelta size against the average of file size before and after the change. This patch uses the smaller of pre- and post- change file size instead. It also makes a very small performance fix. I didn't measure it; I do not expect it to make any practical difference, but while scanning an already sorted list, breaking out in the middle is the right thing. Signed-off-by: Junio C Hamano <junkio@cox.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'diff-tree.c')
0 files changed, 0 insertions, 0 deletions