diff options
author | Shawn O. Pearce <spearce@spearce.org> | 2008-07-13 22:07:45 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-07-15 06:30:59 -0700 |
commit | 4a438cabacdbfa71f59dad127d436bbb49a86f35 (patch) | |
tree | 087c0721ad1a337a1af497e598adc3b22249cab4 /git-merge-one-file.sh | |
parent | index-pack: Refactor base arguments of resolve_delta into a struct (diff) | |
download | tgif-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 'git-merge-one-file.sh')
0 files changed, 0 insertions, 0 deletions