aboutsummaryrefslogtreecommitdiff
path: root/dir.c
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2008-07-13 22:07:44 -0400
committerJunio C Hamano <gitster@pobox.com>2008-07-15 06:27:09 -0700
commitf41aebd46998c8b6df3733196d55aeb7162b3df6 (patch)
tree922a40c6da6bfb2c102ceb2b051e949181d8da65 /dir.c
parent191a8e32b38c7ff0dd884df7bd323b7a5bd4336c (diff)
downloadgit-f41aebd46998c8b6df3733196d55aeb7162b3df6.tar.gz
git-f41aebd46998c8b6df3733196d55aeb7162b3df6.tar.xz
index-pack: Refactor base arguments of resolve_delta into a struct
We need to discard base objects which are not recently used if our memory gets low, such as when we are unpacking a long delta chain of a very large object. To support tracking the available base objects we combine the pointer and size into a struct. Future changes would allow the data pointer to be free'd and marked NULL if memory gets low. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'dir.c')
0 files changed, 0 insertions, 0 deletions