Skip to content

writing out a huge blob to working tree

Junio C Hamano git 3 versions New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest12 patches 0 repliesNew
  2. v211 patches 6 repliesSuperseded
  3. v111 patches 18 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12packed_object_info_detail(): do not return a stringbuiltin/verify-pack.c cache.h sha1_file.c+5 -50 replies
2/12sha1_object_info_extended(): expose a bit more infocache.h sha1_file.c+59 -110 replies
3/12sha1_object_info_extended(): hint about objects in delta-base cachecache.h sha1_file.c+11 -10 replies
4/12unpack_object_header(): make it publiccache.h sha1_file.c+5 -40 replies
5/12write_entry(): separate two helper functions outentry.c+26 -170 replies
6/12streaming: a new API to read from the object storeMakefile streaming.c streaming.h+210 -00 replies
7/12streaming_write_entry(): use streaming API in write_entry()cache.h convert.c entry.c+76 -00 replies
8/12convert: CRLF_INPUT is a no-op in the output codepathconvert.c+1 -10 replies
9/12streaming_write_entry(): support files with holesentry.c+19 -20 replies
10/12streaming: read non-delta incrementally from a packstreaming.c+102 -30 replies
11/12sha1_file.c: expose helpers to read loose objectscache.h sha1_file.c+6 -30 replies
12/12streaming: read loose objects incrementallystreaming.c+82 -30 replies

Reviews trailers per patch

None of the 12 patches has a Reviewed-by or Acked-by.

PatchJeff King
1/12
2/12
3/12
4/12
5/12
6/12
7/12
8/12
9/12
10/12Helped-by
11/12
12/12Helped-by

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 00/12] writing out a huge blob to working tree

This third round fixes to the embarrasing 'result |= close(fd)' bug I reported earlier, and issues Rene noticed in 03 (enum that added OI_DBCACHED had a trailing comma in it) and 06 (remove unused "src" from the git_istream object, do not try to use size field of NULL object, and do not free NULL pointer).

Patch 08 is new. We can pass through the repository content to the working tree under crlf=input conversion.

Junio C Hamano (12):
packed_object_info_detail(): do not return a string sha1_object_info_extended(): expose a bit more info sha1_object_info_extended(): hint about objects in delta-base cache unpack_object_header(): make it public
write_entry(): separate two helper functions out
streaming: a new API to read from the object store streaming_write_entry(): use streaming API in write_entry()
convert: CRLF_INPUT is a no-op in the output codepath streaming_write_entry(): support files with holes
streaming: read non-delta incrementally from a pack sha1_file.c: expose helpers to read loose objects
streaming: read loose objects incrementally

 Makefile              |    2 +
 builtin/verify-pack.c |    4 +-
 cache.h               |   36 +++++-
 convert.c             |   23 +++
 entry.c               |  112 +++++++++++++---
 sha1_file.c           |   69 +++++++---
 streaming.c           |  371 +++++++++++++++++++++++++++++++++++++++++++++++++
 streaming.h           |   15 ++
 8 files changed, 592 insertions(+), 40 deletions(-)
 create mode 100644 streaming.c
 create mode 100644 streaming.h
Signature · 1 line
1.7.5.2.369.g8fc017