summaryrefslogtreecommitdiff
path: root/check-builtins.sh
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2007-01-15 08:00:49 -0500
committerShawn O. Pearce <spearce@spearce.org>2007-01-15 08:00:49 -0500
commitd9ee53ce45b0f1c26285417b900b3c5735721f7e (patch)
treefabba64d27ab1c18d96fd6c973a2e5e1c9167b43 /check-builtins.sh
parent2fce1f3c862845d23b2bd8305f97abb115623192 (diff)
downloadgit-d9ee53ce45b0f1c26285417b900b3c5735721f7e.tar.gz
Implemented automatic checkpoints within fast-import.
When the number of objects or number of bytes gets close to the limit allowed by the packfile format (or configured on the command line by our caller) we should automatically checkpoint the current packfile and start a new one before writing the object out. This does however require that we abandon the delta (if we had one) as its not valid in a new packfile. I also added the simple rule that if we got a delta back but the delta itself is the same size as or larger than the uncompressed object to ignore the delta and just store the object data. This should avoid some really bad behavior caused by our current delta strategy. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'check-builtins.sh')
0 files changed, 0 insertions, 0 deletions