cmd/go: fix 'go get vanity/repo/...' in clean GOPATH
The pattern was only working if the checkout had already been done, but the code was trying to make it work even the first time. Test and fix. Fixes #8335. LGTM=r R=golang-codereviews, r CC=golang-codereviews, iant https://golang.org/cl/146310043
Showing
Please
register
or
sign in
to comment