enhancementhelp wanted
Metriche repository
- Star
- (15.179 stelle)
- Metriche merge PR
- (Nessuna PR mergiata in 30 g)
Descrizione
Steps to reproduce
mkdir tmpcd tmpgit initecho 'github "antitypical/Result"'>Cartfilecarthage update --use-submodules --no-buildgit add .git commit -m 'Initial'git rm Carthage/Checkouts/Resultgit reset HEAD .gitmodulesgit checkout -- .gitmodulesgit commit -m 'Bork it'carthage bootstrap --use-submodules --no-build
Expected A nice error that explains what you do and how to fix it or possibly even fix it automatically.
Fix:
git submodule add -f {url to submodule} {path to submodule}git commit
Actual This unfriendly error. If you don't know to avoid doing the above, you definitely won't understand the error.
Parse error: expected submodule commit SHA in output of task (ls-tree -z HEAD Carthage/Checkouts/Result) but encountered: