]> Cypherpunks repositories - gostls13.git/commit
cmd/go: clean up handling of go mod tidy -go=v during modload
authorRuss Cox <rsc@golang.org>
Wed, 31 May 2023 13:38:29 +0000 (09:38 -0400)
committerGopher Robot <gobot@golang.org>
Wed, 31 May 2023 15:21:15 +0000 (15:21 +0000)
commit51114a3fa58b196ec5ab4b5205617f98e2cdc5ff
tree5699ed25195d79eaa779b4a297c023cdf8ffc6e6
parent97a2ed74adbb389ce2e8da790dc3567e89e2af71
cmd/go: clean up handling of go mod tidy -go=v during modload

Slight cleanup of the special case for "mod tidy" during modload
of a module with no go version. Now it's clearer what is special.

For #57001.

Change-Id: I4a3ad0a948ccb5c62365f2a7f7f7de5582cc57c9
Reviewed-on: https://go-review.googlesource.com/c/go/+/499535
Reviewed-by: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
src/cmd/go/internal/modload/init.go