summaryrefslogtreecommitdiff
path: root/diffcore-pickaxe.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2005-05-21 15:55:18 -0700
committerLibravatar Linus Torvalds <torvalds@ppc970.osdl.org>2005-05-21 16:22:57 -0700
commit58b103f55d5b95dc24cce2fb4f64e697958fd204 (patch)
treef04b5da80a0a50880495563a367a5b18a9413828 /diffcore-pickaxe.c
parentdiff-tree: don't print multiple headers for merges when silent. (diff)
downloadtgif-58b103f55d5b95dc24cce2fb4f64e697958fd204.tar.xz
[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