git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* [PATCH 0/2] Make partial clone/fetch work when transfer.fsckobjects=1
@ 2018-03-14 18:42 Jonathan Tan
  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
  0 siblings, 2 replies; 6+ messages in thread
From: Jonathan Tan @ 2018-03-14 18:42 UTC (permalink / raw
  To: git; +Cc: git, Jonathan Tan

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-03-15 17:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-14 18:42 [PATCH 0/2] Make partial clone/fetch work when transfer.fsckobjects=1 Jonathan Tan
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

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).