summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorLibravatar Shawn O. Pearce <spearce@spearce.org>2008-07-13 22:07:45 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-07-15 06:30:59 -0700
commit4a438cabacdbfa71f59dad127d436bbb49a86f35 (patch)
tree087c0721ad1a337a1af497e598adc3b22249cab4 /templates
parentindex-pack: Refactor base arguments of resolve_delta into a struct (diff)
downloadtgif-4a438cabacdbfa71f59dad127d436bbb49a86f35.tar.xz
index-pack: Chain the struct base_data on the stack for traversal
We need to release earlier inflated base objects when memory gets low, which means we need to be able to walk up or down the stack to locate the objects we want to release, and free their data. The new link/unlink routines allow inserting and removing the struct base_data during recursion inside resolve_delta, and the global base_cache gives us the head of the chain (bottom of the stack) so we can traverse it. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'templates')
0 files changed, 0 insertions, 0 deletions