]> Cypherpunks repositories - gostls13.git/commit
cmd/go: print deprecation notice for 'go get cmd'
authorJay Conrod <jayconrod@google.com>
Mon, 29 Mar 2021 21:00:15 +0000 (17:00 -0400)
committerJay Conrod <jayconrod@google.com>
Mon, 5 Apr 2021 20:05:34 +0000 (20:05 +0000)
commit254fb85c12aa631b5d1596aaf13f6e8666d65d15
treeee1ee6c0ba257891f36650bee755b02b426c6911
parentd5b9dc1317e3d898650fcb6e417f03b00e69270b
cmd/go: print deprecation notice for 'go get cmd'

The notice is shown when 'go get' is invoked with the -d flag, and
the arguments match at least one main package.

This reverts CL 274552.

For #43684

Change-Id: I42e6731455f22988bf72dde1d5a76d197e9e3954
Reviewed-on: https://go-review.googlesource.com/c/go/+/305670
Trust: Jay Conrod <jayconrod@google.com>
Run-TryBot: Jay Conrod <jayconrod@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Michael Matloob <matloob@golang.org>
src/cmd/go/internal/modget/get.go
src/cmd/go/testdata/script/mod_get_deprecate_install.txt [new file with mode: 0644]