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

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

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

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