]> Cypherpunks repositories - gostls13.git/commit
cmd/go: run go install in workspace mode
authorMichael Matloob <matloob@golang.org>
Mon, 10 Jan 2022 17:58:20 +0000 (12:58 -0500)
committerMichael Matloob <matloob@golang.org>
Thu, 13 Jan 2022 19:35:14 +0000 (19:35 +0000)
commit3ff12a019f00bc81996c453e5cb4729a9278f65a
treec17c29070a9e39028efacbc7ed11b63772a32fb1
parentce01afe907f7f37b465bda529a339a7a8b98c59e
cmd/go: run go install in workspace mode

It's too confusing to users to run go install in module mode, so run
it in workspace mode instead.

Fixes #50036

Change-Id: Ia99927bd98f54be4c42224a247543892045e3464
Reviewed-on: https://go-review.googlesource.com/c/go/+/377334
Reviewed-by: Bryan Mills <bcmills@google.com>
Trust: Michael Matloob <matloob@golang.org>
Run-TryBot: Michael Matloob <matloob@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/cmd/go/internal/work/build.go
src/cmd/go/testdata/script/work_install_submodule.txt [new file with mode: 0644]