]> Cypherpunks repositories - gostls13.git/commit
cmd/go: search the target for patterns when -mod=vendor is set
authorBryan C. Mills <bcmills@google.com>
Tue, 12 Mar 2019 13:25:46 +0000 (09:25 -0400)
committerBryan C. Mills <bcmills@google.com>
Tue, 12 Mar 2019 15:44:29 +0000 (15:44 +0000)
commitd6891bd480b664afe4e2f4a0a0a72324943859f3
tree960afa97c56e037b10ea9850915e87fd05aee900
parent781da440912c095e61b9e5a95e5b068062b150a9
cmd/go: search the target for patterns when -mod=vendor is set

This fixes the root cause of the bootstrap failure reported in
https://groups.google.com/d/msg/golang-dev/xcVJDj5GJ84/U0pVnUOnBwAJ.

Updates #30228

Change-Id: I9ce0898922a5aac1f61ceff30319cf88031676c4
Reviewed-on: https://go-review.googlesource.com/c/go/+/167079
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
src/cmd/go/internal/modload/search.go
src/cmd/go/testdata/script/mod_vendor_build.txt