summaryrefslogtreecommitdiff
path: root/t/t1009-read-tree-new-index.sh
diff options
context:
space:
mode:
authorLibravatar Nicolas Pitre <nico@fluxnic.net>2010-04-12 12:11:07 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-04-12 09:51:38 -0700
commit776ea3707a0248b9d36d696ee92beeeac5ccf1a1 (patch)
treef46b55082c463f3200548cb67852e31ec42391a5 /t/t1009-read-tree-new-index.sh
parentsha1_file: be paranoid when creating loose objects (diff)
downloadtgif-776ea3707a0248b9d36d696ee92beeeac5ccf1a1.tar.xz
index-pack: smarter memory usage when resolving deltas
In the same spirit as commit 9892bebafe, let's avoid allocating the full buffer for the deflated data in get_data_from_pack() in order to inflate it. Let's read and inflate 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/t1009-read-tree-new-index.sh')
0 files changed, 0 insertions, 0 deletions