diff options
author | Shawn O. Pearce <spearce@spearce.org> | 2008-07-13 22:07:44 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-07-15 06:27:09 -0700 |
commit | f41aebd46998c8b6df3733196d55aeb7162b3df6 (patch) | |
tree | 922a40c6da6bfb2c102ceb2b051e949181d8da65 /contrib | |
parent | 191a8e32b38c7ff0dd884df7bd323b7a5bd4336c (diff) | |
download | git-f41aebd46998c8b6df3733196d55aeb7162b3df6.tar.gz |
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 'contrib')
0 files changed, 0 insertions, 0 deletions