tianocore / edk2-edkrepo

Repository for the edkrepo utility
Other
18 stars 24 forks source link

remote cherry-pick failure with --treeless clone option #260

Open ndhaller opened 2 weeks ago

ndhaller commented 2 weeks ago

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 commented 2 weeks ago

Related pull request: https://github.com/tianocore/edk2-edkrepo/pull/257