Large blob fixes
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest11 patches 2 repliesIn review
- v210 patches 3 repliesSuperseded
- v111 patches 8 repliesSuperseded
Changes in v3 from the cover letter
- set core.bigfilethreshold globally in t1050 to make git-clone happy because there's currently no way to specify this in git-clone (or is there?)
- fix the bad coding taste in builtin/cat-file.c
- make update-server-info respect core.bigfilethreshold, which makes repack pass on repositories that have tags
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | Add more large blob test casest/ wrapper.c | +85 | 0 replies | |
| 2/11 | streaming: make streaming-write-entry to be more reusableentry.c streaming.c streaming.h | +62 | 0 replies | |
| 3/11 | cat-file: use streaming interface to print blobsbuiltin/ t/ | +26 | 0 replies | |
| 4/11 | parse_object: special code path for blobs to avoid putting whole object in memoryobject.c sha1_file.c | +43 | 1 reply | |
| 5/11 | show: use streaming interface for showing blobsbuiltin/ t/ | +21 | 0 replies | |
| 6/11 | index-pack: split second pass obj handling into own functionbuiltin/ | +18 | 0 replies | |
| 7/11 | index-pack: reduce memory usage when the pack has large blobsbuiltin/ t/ | +53 | 0 replies | |
| 8/11 | pack-check: do not unpack blobscache.h fast-import.c pack-check.c +2 more | +58 | 0 replies | |
| 9/11 | archive: support streaming large files to a tar archivearchive-tar.c archive-zip.c archive.c +2 more | +77 | 1 reply | |
| 10/11 | fsck: use streaming interface for writing lost-found blobsbuiltin/ | +2 | 0 replies | |
| 11/11 | update-server-info: respect core.bigfilethresholdbuiltin/ t/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH v3 00/11] Large blob fixes
Changes from v2:
- set core.bigfilethreshold globally in t1050 to make git-clone happy because there's currently no way to specify this in git-clone (or is there?)
- fix the bad coding taste in builtin/cat-file.c
- make update-server-info respect core.bigfilethreshold, which makes repack pass on repositories that have tags
Junio C Hamano (1):
streaming: make streaming-write-entry to be more reusable
Nguyễn Thái Ngọc Duy (10):
Add more large blob test cases
cat-file: use streaming interface to print blobs
parse_object: special code path for blobs to avoid putting whole
object in memory
show: use streaming interface for showing blobs
index-pack: split second pass obj handling into own function
index-pack: reduce memory usage when the pack has large blobs
pack-check: do not unpack blobs
archive: support streaming large files to a tar archive
fsck: use streaming interface for writing lost-found blobs
update-server-info: respect core.bigfilethreshold
archive-tar.c | 35 ++++++++++++--- archive-zip.c | 9 ++-- archive.c | 51 +++++++++++++++------- archive.h | 11 ++++- builtin/cat-file.c | 24 +++++++++++ builtin/fsck.c | 8 +--- builtin/index-pack.c | 95 ++++++++++++++++++++++++++++++----------- builtin/log.c | 34 +++++++++------ builtin/update-server-info.c | 1 + cache.h | 2 +- entry.c | 53 ++--------------------- fast-import.c | 2 +- object.c | 11 +++++ pack-check.c | 21 +++++++++- sha1_file.c | 78 +++++++++++++++++++++++++++++----- streaming.c | 55 ++++++++++++++++++++++++ streaming.h | 2 + t/t1050-large.sh | 63 +++++++++++++++++++++++++++- wrapper.c | 27 +++++++++++- 19 files changed, 439 insertions(+), 143 deletions(-)
Signature · 1 line
1.7.3.1.256.g2539c.dirty