{"thread":{"id":"63682","subject":"bug: Can't clone from \"grafted\" bundle: fatal: remote did not send all necessary objects","startedAt":"2025-06-23T15:23:29Z","lastAt":"2025-06-23T15:23:29Z","messageCount":1,"participants":["Andrey Butirsky"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"520569","messageId":"ce1ad61e-f0cd-44d9-9b0c-4b7a5f941fd9@gmail.com","threadId":"63682","inReplyTo":null,"subject":"bug: Can't clone from \"grafted\" bundle: fatal: remote did not send all necessary objects","fromName":"Andrey Butirsky","fromEmail":"butirsky@gmail.com","sentAt":"2025-06-23T15:23:19Z","receivedAt":"2025-06-23T15:23:29Z","isPatch":false,"sender":{"key":"butirsky@gmail.com","avatar":null},"body":"Hi,\n\nwhile I can clone from the \"grafted\" repo directly, I can't do the same \nif I make a bundle first and try to clone from it.\n\nTo reproduce:\n\n- prepare some shallow source repo, e.g.:\n$ git clone --depth=1 <repo_URL> <repo>\n\n- make sure it can be cloned fine directly:\n$ git clone <repo> test_clone\n\n- now create a bundle from the shallow source repo:\ncd <repo>\n$ git bundle create test_bundle --all\n\n- try to clone the bundle - the error is produced:\n$ git clone test_bundle bundle_clone_test\nReceiving objects: 100% (183/183), 61.94 KiB | 6.19 MiB/s, done.\nResolving deltas: 100% (91/91), done.\nerror: Could not read 3541f044006078ac02f6a587ae87f682359efec0\nfatal: Failed to traverse parents of commit \n47f57af427b311c96e964b7ffc0500dc0aa64c4f\nfatal: remote did not send all necessary objects\n\nThe commit 47f57af427b311c96e964b7ffc0500dc0aa64c4f is grafted.\n\n"}]}