Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve error reporting when fetching unexisting commit #1

Open
Hyask opened this issue Sep 30, 2022 · 0 comments
Open

Improve error reporting when fetching unexisting commit #1

Hyask opened this issue Sep 30, 2022 · 0 comments

Comments

@Hyask
Copy link
Member

Hyask commented Sep 30, 2022

When fetching a commit in a submodule that didn't exist, the following log was printed:

Command failed due to the following error(s):
Error: Error while checkouting quasar
  Caused by: Could not fetch submodule
  Caused by: early EOF; class=Net (12); code=Eof (-20)
Error: Command terminated with errors

while git submodule update --init reported:

fatal: Fetched in submodule path 'quasar', but it did not contain b93976279dcd10ae10889b2f3b61abb98e07a88a. Direct fetching of that commit failed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant