Skip to content

Make partial clone/fetch work when transfer.fsckobjects=1

Jonathan Tan git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2index-pack: support checking objects but not linksDocumentation/git-index-pack.txt builtin/index-pack.c t/t5302-pack-index.sh+12 -20 replies
2/2fetch-pack: do not check links for partial fetchfetch-pack.c t/t5616-partial-clone.sh+22 -23 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/2] Make partial clone/fetch work when transfer.fsckobjects=1

One of my colleagues noticed that we obtain a "fatal: did not receive expected object" error when partial-cloning (that is, with --filter set) if transfer.fsckobjects is true. Here's a fix for that.

Jonathan Tan (2):
index-pack: support checking objects but not links
fetch-pack: do not check links for partial fetch

 Documentation/git-index-pack.txt |  3 +++
 builtin/index-pack.c             |  6 ++++--
 fetch-pack.c                     | 13 +++++++++++--
 t/t5302-pack-index.sh            |  5 +++++
 t/t5616-partial-clone.sh         | 11 +++++++++++
 5 files changed, 34 insertions(+), 4 deletions(-)
Signature · 1 line
2.16.2.520.gd0db9edba.dirty