]> Cypherpunks repositories - gostls13.git/commit
cmd/go/internal/modload: avoid loading the module graph to list only the name of...
authorBryan C. Mills <bcmills@google.com>
Sat, 10 Apr 2021 02:51:07 +0000 (22:51 -0400)
committerBryan C. Mills <bcmills@google.com>
Fri, 30 Apr 2021 18:06:26 +0000 (18:06 +0000)
commitc05d50f8f3b2f8a9ca66a6288168adf74d10586f
tree1b49ea0d744649045d171792dab55377c6dd2ee8
parentee4f9656ac419bb92408f65f082c735a6b82d1fa
cmd/go/internal/modload: avoid loading the module graph to list only the name of the main module

For #36460
For #29666

Change-Id: I9e46f7054d52c053be80c483757cdd34b22822d9
Reviewed-on: https://go-review.googlesource.com/c/go/+/309190
Trust: Bryan C. Mills <bcmills@google.com>
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
Reviewed-by: Michael Matloob <matloob@golang.org>
src/cmd/go/internal/modload/list.go
src/cmd/go/testdata/script/mod_load_badchain.txt