Skip to content

Special code path for large blobs

Nguyễn Thái Ngọc Duy git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4convert.c: refactor in order to skip conversion early without looking into file contentcache.h convert.c+79 -90 replies
2/4sha1_file.c: add streaming interface for reading blobscache.h sha1_file.c+121 -00 replies
3/4write_entry: use streaming interface for checkout large filesentry.c+68 -00 replies
4/4index_fd: support indexing large filessha1_file.c+120 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH WIP 0/4] Special code path for large blobs

Thread "Problem with large files on different OSes" reminds me this. This series is in my repository for quite some time. It addresses adding/checking out large blobs as long as:

- no conversion will be done
- blobs are loose (in checkout case)

Together with a patch that prevents large blobs from being packed (something like Dana How sent long ago), and a modification of "lazy clone/remote alternatives" patch to avoid packing large blobs again for sending over network, I think it should make git possible for large files.

Just something to play.

Nguyễn Thái Ng�c Duy (4):
convert.c: refactor in order to skip conversion early without looking
into file content
sha1_file.c: add streaming interface for reading blobs
write_entry: use streaming interface for checkout large files
index_fd: support indexing large files

 cache.h     |   10 +++
 convert.c   |   86 ++++++++++++++++++++---
 entry.c     |   68 +++++++++++++++++
 sha1_file.c |  233 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 388 insertions(+), 9 deletions(-)