git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
JTJonathan 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
Next: Jonathan Tan
Message 1 of 6 in “Make partial clone/fetch work when transfer.fsckobjects=1”
  1. 0/2 Make partial clone/fetch work when transfer.fsckobjects=1Jonathan Tan, Mar 14, 2018
  2. 1/2 index-pack: support checking objects but not linksJonathan Tan, Mar 14, 2018
  3. 2/2 fetch-pack: do not check links for partial fetchJonathan Tan, Mar 14, 2018
  4. Junio C HamanoMar 14, 2018
  5. Jonathan TanMar 14, 2018
  6. Junio C HamanoMar 15, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.