]> Cypherpunks repositories - gostls13.git/commit
cmd/go: make commands other than 'tidy' prune go.mod less agressively
authorBryan C. Mills <bcmills@google.com>
Fri, 1 Nov 2019 20:54:18 +0000 (16:54 -0400)
committerBryan C. Mills <bcmills@google.com>
Wed, 6 Nov 2019 15:08:19 +0000 (15:08 +0000)
commitcf3be9bbca2f90d87283ae69322616b43702a2f7
tree6aff41f0e59d4091e4b31dfa33293d7a6c227788
parent1bd974eeb7238f1f8c09e037a86988d1d2b1e33a
cmd/go: make commands other than 'tidy' prune go.mod less agressively

Updates #31870
Updates #33326
Fixes #34822

Change-Id: I1337f171133c20800eacc6b0955ede5a394ea7eb
Reviewed-on: https://go-review.googlesource.com/c/go/+/204878
Run-TryBot: Bryan C. Mills <bcmills@google.com>
Reviewed-by: Jay Conrod <jayconrod@google.com>
src/cmd/go/internal/modcmd/tidy.go
src/cmd/go/internal/modload/init.go
src/cmd/go/internal/modload/load.go
src/cmd/go/testdata/script/mod_readonly.txt
src/cmd/go/testdata/script/mod_retention.txt [new file with mode: 0644]
src/cmd/go/testdata/script/mod_tidy.txt