]> Cypherpunks repositories - gostls13.git/commit
cmd/go: fix 'go get vanity/repo/...' in clean GOPATH
authorRuss Cox <rsc@golang.org>
Fri, 26 Sep 2014 16:09:27 +0000 (12:09 -0400)
committerRuss Cox <rsc@golang.org>
Fri, 26 Sep 2014 16:09:27 +0000 (12:09 -0400)
commit7fa96f08a4b11d710c8b1cb0d8f29e131e1793db
tree968ef6243fa87787d4b845a2140d5455077298ff
parent64df53ed7f46db4a404812e2ef347521dc95a039
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
src/cmd/go/test.bash
src/cmd/go/vcs.go