-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/go: go get in module mode does not initialize git submodules #26716
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
Comments
As a side note, this fails with a different error message if you capitalize my GitHub username in the import path:
I assume this is because cgo doesn't like |
Git submodules are not going to be supported per #24094 (comment) Leaving this issue open however for the cgo issue |
The go tool is working as intended in rejecting cgo file names that contain |
@ianlancetaylor I think the So cc-ed you just to ensure everything is working as intended post that? |
@myitcv Thanks for pointing that out. |
Change https://golang.org/cl/127297 mentions this issue: |
Please answer these questions before submitting your issue. Thanks!
What did you do?
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.
What did you expect to see?
Successful completion of the command.
What did you see instead?
Does this issue reproduce with the latest release (go1.10.3)?
No. Go 1.10.3 correctly initializes the git submodule, as does go1.11beta2 when not using go.mod.
System details
The text was updated successfully, but these errors were encountered: