summaryrefslogtreecommitdiff
path: root/t/t2004-checkout-cache-temp.sh
diff options
context:
space:
mode:
authorLibravatar Nicolas Pitre <nico@fluxnic.net>2010-04-12 16:50:35 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-04-12 15:30:58 -0700
commit7734d7f2f6e57973bce3d7b2af815ac737f4637c (patch)
treeb5a76d4b17cb50903f46ccf1a592f124a3245048 /t/t2004-checkout-cache-temp.sh
parentindex-pack: rationalize unpack_entry_data() (diff)
downloadtgif-7734d7f2f6e57973bce3d7b2af815ac737f4637c.tar.xz
index-pack: smarter memory usage when appending objects
In the same spirit as commit 9892bebafe, let's avoid allocating the full buffer for the deflated data in write_compressed() in order to write it. Let's deflate and write the data in chunks instead to reduce memory usage. Signed-off-by: Nicolas Pitre <nico@fluxnic.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t2004-checkout-cache-temp.sh')
0 files changed, 0 insertions, 0 deletions