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

bug: Can't clone from "grafted" bundle: fatal: remote did not send all necessary objects

From
ABAndrey Butirsky <butirsky@gmail.com>
Date
Jun 23, 2025, 15:23 UTC
Message-ID
<ce1ad61e-f0cd-44d9-9b0c-4b7a5f941fd9@gmail.com>
Hi,

while I can clone from the "grafted" repo directly, I can't do the same if I make a bundle first and try to clone from it.

To reproduce:
- prepare some shallow source repo, e.g.:
$ git clone --depth=1 <repo_URL> <repo>
- make sure it can be cloned fine directly:
$ git clone <repo> test_clone
- now create a bundle from the shallow source repo:
cd <repo>
$ git bundle create test_bundle --all
- try to clone the bundle - the error is produced:
$ git clone test_bundle bundle_clone_test
Receiving objects: 100% (183/183), 61.94 KiB | 6.19 MiB/s, done.
Resolving deltas: 100% (91/91), done.
error: Could not read 3541f044006078ac02f6a587ae87f682359efec0
fatal: Failed to traverse parents of commit 
47f57af427b311c96e964b7ffc0500dc0aa64c4f
fatal: remote did not send all necessary objects
The commit 47f57af427b311c96e964b7ffc0500dc0aa64c4f is grafted.
Message 1 of 1 in “bug: Can't clone from "grafted" bundle: fatal: remote did not send all necessary objects”
  1. Andrey ButirskyJun 23, 2025

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.