summaryrefslogtreecommitdiff
path: root/builtin/reset.c
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2012-05-26 17:28:01 +0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-05-29 10:50:56 -0700
commitcf2ba13ac6a7589fde5b7e888fedb2e7299e423a (patch)
tree88d11e26c37e02f64f16f0df03e2911de625f970 /builtin/reset.c
parentpack-objects: refactor write_object() into helper functions (diff)
downloadtgif-cf2ba13ac6a7589fde5b7e888fedb2e7299e423a.tar.xz
pack-objects: use streaming interface for reading large loose blobs
git usually streams large blobs directly to packs. But there are cases where git can create large loose blobs (unpack-objects or hash-object over pipe). Or they can come from other git implementations. core.bigfilethreshold can also be lowered down and introduce a new wave of large loose blobs. Use streaming interface to read/compress/write these blobs in one go. Fall back to normal way if somehow streaming interface cannot be used. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/reset.c')
0 files changed, 0 insertions, 0 deletions