summaryrefslogtreecommitdiff
path: root/http-push.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2006-02-22 21:45:45 -0800
committerLibravatar Junio C Hamano <junkio@cox.net>2006-02-22 21:45:45 -0800
commitb925410d10fce5e0d4182847f99e8c2df048bde1 (patch)
tree735fdc67bec7b266489f3a684397f9b9ce471bee /http-push.c
parentUse thin pack transfer in "git fetch". (diff)
downloadtgif-b925410d10fce5e0d4182847f99e8c2df048bde1.tar.xz
pack-objects: thin pack micro-optimization.
Since we sort objects by type, hash, preferredness and then size, after we have a delta against preferred base, there is no point trying a delta with non-preferred base. This seems to save expensive calls to diff-delta and it also seems to save the output space as well. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'http-push.c')
0 files changed, 0 insertions, 0 deletions