[PATCH 0/2] Make partial clone/fetch work when transfer.fsckobjects=1
- From
- Jonathan Tan <jonathantanmy@google.com>
- Date
- Mar 14, 2018, 18:42 UTC
- Message-ID
- <cover.1521052825.git.jonathantanmy@google.com>
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(-)
-- 2.16.2.520.gd0db9edba.dirty