summaryrefslogtreecommitdiff
path: root/t/t4101
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2006-08-28 12:22:50 -0400
committerShawn O. Pearce <spearce@spearce.org>2007-01-14 02:15:10 -0500
commit4cabf8583f934260697a065186f3dce135834ede (patch)
tree3056d075bd11d41ebbc498dcb2ead89297caaaad /t/t4101
parent445b85999a309c8e5c7f928484c57325c280152e (diff)
downloadgit-4cabf8583f934260697a065186f3dce135834ede.tar.gz
Implemented tree delta compression in fast-import.
We now store for every tree entry two modes and two sha1 values; the base (aka "version 0") and the current/new (aka "version 1"). When we generate a tree object we also regenerate the prior version object and use that as our base object for a delta. This strategy saves a significant amount of memory as we can continue to use the atom pool for file/directory names and only increases each tree entry by an additional 24 bytes of memory. Branches should automatically delta against their ancestor tree, unless the ancestor tree is already at the delta chain limit. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 't/t4101')
0 files changed, 0 insertions, 0 deletions