summaryrefslogtreecommitdiff
path: root/builtin-diff.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2006-09-03 21:09:18 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2006-09-03 21:09:18 -0700
commit72518e9c2623af0b5de864a7b66208ea94aacadb (patch)
tree42d0ed3b6202af7e9f60639101e36827bd200128 /builtin-diff.c
parentpack-objects: fix thinko in revalidate code (diff)
downloadtgif-72518e9c2623af0b5de864a7b66208ea94aacadb.tar.xz
more lightweight revalidation while reusing deflated stream in packing
When copying from an existing pack and when copying from a loose object with new style header, the code makes sure that the piece we are going to copy out inflates well and inflate() consumes the data in full while doing so. The check to see if the xdelta really apply is quite expensive as you described, because you would need to have the image of the base object which can be represented as a delta against something else. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'builtin-diff.c')
0 files changed, 0 insertions, 0 deletions