]> Cypherpunks repositories - gostls13.git/commit
cmd/go: don't let ... match GOROOT/src/cmd in module mode
authorRuss Cox <rsc@golang.org>
Fri, 10 Aug 2018 19:25:15 +0000 (15:25 -0400)
committerRuss Cox <rsc@golang.org>
Fri, 10 Aug 2018 20:02:31 +0000 (20:02 +0000)
commit5c11480631f5654e9e6937ff08c453660138c64d
tree40e1e4885fa07298bccd64c787d58c8adca9b3c5
parent64205cd4b6d48432fdcbe2127d45e4f786468ff3
cmd/go: don't let ... match GOROOT/src/cmd in module mode

GOROOT/src/cmd uses GOROOT/src/cmd/vendor, which module
mode simply cannot handle.

Exposed by making ... match the standard library, which it still should.

But for now it's fine to just exclude commands.

Change-Id: I2201b94445f11239022de8a2473aa3b573f405c0
Reviewed-on: https://go-review.googlesource.com/129055
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/go/internal/modload/search.go
src/cmd/go/testdata/script/mod_patterns.txt