Skip to content

"split bundle" preview

Junio C Hamano git 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 25 repliesIn review
  2. v11 patch 3 repliesSuperseded

Changes from the cover letter

- The "checksum" bit about the in-bundle packdata, which was incorrect, was dropped from the proposed log message of 1/4.

- "init_bundle_header()" helper has been added to 3/4; the name of the new field in bundle_header structure is now "filename", not "bundle_file". It is silly to name a field with "bundle" in it when the structure is about a bundle already.

- 4/4 is new, and implements the unbundling part, i.e. running either "git clone" or "git bundle unbundle" on the two files after a split bundle is made available locally.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4bundle doc: 'verify' is not about verifying the bundleDocumentation/git-bundle.txt+4 -50 replies
2/4bundle: plug resource leakbundle.c bundle.h transport.c+14 -00 replies
3/4bundle: keep a copy of bundle file name in the in-core bundle headerbuiltin/bundle.c bundle.c bundle.h +1 more+25 -151 reply
4/4bundle v3: the beginningbundle.c bundle.h t/t5704-bundle.sh+161 -924 replies

Reviews trailers per patch

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

PatchJeff King
1/4
2/4
3/4Helped-by
4/4

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

Read the v2 thread

Cover letter [PATCH v2 0/4] "split bundle" preview

Here is a preview of the "split bundle" stuff that may serve as one of the enabling technology to offload "git clone" traffic off of the server core network to CDN.

Changes:

- The "checksum" bit about the in-bundle packdata, which was incorrect, was dropped from the proposed log message of 1/4.

- "init_bundle_header()" helper has been added to 3/4; the name of the new field in bundle_header structure is now "filename", not "bundle_file". It is silly to name a field with "bundle" in it when the structure is about a bundle already.

- 4/4 is new, and implements the unbundling part, i.e. running either "git clone" or "git bundle unbundle" on the two files after a split bundle is made available locally.

Junio C Hamano (4):
bundle doc: 'verify' is not about verifying the bundle
bundle: plug resource leak
bundle: keep a copy of bundle file name in the in-core bundle header bundle v3: the beginning

 Documentation/git-bundle.txt |   9 ++-
 builtin/bundle.c             |   6 +-
 bundle.c                     | 142 +++++++++++++++++++++++++++++++++++++------
 bundle.h                     |   8 ++-
 t/t5704-bundle.sh            |  64 +++++++++++++++++++
 transport.c                  |   4 +-
 6 files changed, 204 insertions(+), 29 deletions(-)
Signature · 1 line
2.8.0-rc0-114-g0b3e5e5