edk2-edkrepo icon indicating copy to clipboard operation
edk2-edkrepo copied to clipboard

remote cherry-pick failure with --treeless clone option

Open ndhaller opened this issue 7 months ago • 1 comments

A Patchset for Tianocore Edk2 using remote cherry-pick from Tianocore Edk2-Staging fails with "Error: The branch does not exist" when the edkrepo project is cloned with "--treeless" filter option.

Running the Patchset remote cherry-pick steps manually with git failed at the git fetch step with error message "fatal: bad tree object"

For this case, "git fetch --refetch" avoids the "fatal: bad tree object" git fetch error, and might work as a workaround if "--treeless" cloned projects fail the initial 'git fetch' step.

Version: edkrepo v3.2.3

ndhaller avatar Jul 08 '24 19:07 ndhaller