Skip to content

cmd/go: go get -u can now print errors about custom import paths being checked out from the wrong place #13657

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

Closed
siebenmann opened this issue Dec 17, 2015 · 1 comment

Comments

@siebenmann
Copy link

This is simplest to show as an example:

$ export GOPATH=/tmp/gotest
$ mkdir $GOPATH
$ go get github.com/svent/sift
$ go get -u github.com/svent/sift
package golang.org/x/crypto/ssh/terminal: golang.org/x/crypto is a custom import path for https://go.googlesource.com/crypto, but /tmp/gotest/src/golang.org/x/crypto is checked out from ssh://https

Some quick testing says that this was introduced in 3e9f063, 'cmd/go: allow omitted user name in git ssh repo syntax'.

@bradfitz
Copy link
Contributor

/cc @rsc

@rsc rsc closed this as completed in 9f0055a Dec 17, 2015
@golang golang locked and limited conversation to collaborators Dec 29, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants