diff options
author | Junio C Hamano <junkio@cox.net> | 2005-05-22 02:55:18 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-22 03:22:57 +0400 |
commit | 58b103f55d5b95dc24cce2fb4f64e697958fd204 (patch) | |
tree | f04b5da80a0a50880495563a367a5b18a9413828 /diffcore-pickaxe.c | |
parent | d6db01075b65da2b8584a0450619390893aae103 (diff) |
[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 'diffcore-pickaxe.c')
0 files changed, 0 insertions, 0 deletions