summaryrefslogtreecommitdiff
path: root/mozilla-sha1
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-05-21 15:55:18 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-21 16:22:57 -0700
commit58b103f55d5b95dc24cce2fb4f64e697958fd204 (patch)
treef04b5da80a0a50880495563a367a5b18a9413828 /mozilla-sha1
parentd6db01075b65da2b8584a0450619390893aae103 (diff)
downloadgit-58b103f55d5b95dc24cce2fb4f64e697958fd204.tar.gz
[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 'mozilla-sha1')
0 files changed, 0 insertions, 0 deletions