bug: Can't clone from "grafted" bundle: fatal: remote did not send all necessary objects
- From
- Andrey 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.