From: Jonathan Tan <jonathantanmy@google.com>
To: git@vger.kernel.org
Cc: git@jeffhostetler.com, Jonathan Tan <jonathantanmy@google.com>
Subject: [PATCH 0/2] Make partial clone/fetch work when transfer.fsckobjects=1
Date: Wed, 14 Mar 2018 11:42:39 -0700 [thread overview]
Message-ID: <cover.1521052825.git.jonathantanmy@google.com> (raw)
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
next reply other threads:[~2018-03-14 18:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-14 18:42 Jonathan Tan [this message]
2018-03-14 18:42 ` [PATCH 1/2] index-pack: support checking objects but not links Jonathan Tan
2018-03-14 18:42 ` [PATCH 2/2] fetch-pack: do not check links for partial fetch Jonathan Tan
2018-03-14 21:55 ` Junio C Hamano
2018-03-14 22:24 ` Jonathan Tan
2018-03-15 17:15 ` Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1521052825.git.jonathantanmy@google.com \
--to=jonathantanmy@google.com \
--cc=git@jeffhostetler.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.