enhancementhelp wanted
倉庫指標
- 星標
- (15,179 顆星)
- PR 合併指標
- (30 天內沒有已合併 PR)
描述
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: