diff options
author | Jay Conrod <jayconrod@google.com> | 2021-05-10 17:19:50 -0400 |
---|---|---|
committer | Jay Conrod <jayconrod@google.com> | 2021-05-17 16:02:12 +0000 |
commit | b1aff42900133e4fbc9b7d7c1af13c77e4f647b0 (patch) | |
tree | a0a98389f6da38bee974639904a0b7e359aa46a4 /misc | |
parent | bade680867c9b1eecc7b5d177ed94c455a72e50a (diff) | |
download | go-b1aff42900133e4fbc9b7d7c1af13c77e4f647b0.tar.gz go-b1aff42900133e4fbc9b7d7c1af13c77e4f647b0.zip |
cmd/go: don't print 'go get' deprecation notices in the main module
If a user runs 'go get example.com/cmd' for a package in the main
module, it's more likely they intend to fill in missing dependencies
for that package (especially with -u). If the intent were only to
build and install, 'go install example.com/cmd' would be a better
choice.
For #43684
Resolving a comment on CL 305670.
Change-Id: I5c80ffdcdb3425b448f2f49cc20b07a18cb2bbe9
Reviewed-on: https://go-review.googlesource.com/c/go/+/318570
Trust: Jay Conrod <jayconrod@google.com>
Run-TryBot: Jay Conrod <jayconrod@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
Diffstat (limited to 'misc')
0 files changed, 0 insertions, 0 deletions