]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: remove note about GOCACHE=off in docs
authorSebastiaan van Stijn <github@gone.nl>
Fri, 11 Jan 2019 15:28:04 +0000 (15:28 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Fri, 11 Jan 2019 16:08:59 +0000 (16:08 +0000)
This patch removes mention of GOCACHE=off from the help/docs.
It is no longer supported in Go 1.12, per the release notes.

Fixes #29680

Change-Id: I53ab15a62743f2e55ae1d8aa50629b1bf1ae32ad
GitHub-Last-Rev: 31e904f51dece13645696a87b1164d86c984457f
GitHub-Pull-Request: golang/go#29681
Reviewed-on: https://go-review.googlesource.com/c/157517
Run-TryBot: Elias Naur <elias.naur@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
src/cmd/go/alldocs.go
src/cmd/go/internal/help/helpdoc.go

index 9d9304a3b64faee39af961492336af8e600bde00..5a6a1c82cce018b0cdc76e5e0b86ad85a969cefd 100644 (file)
 // in the standard user cache directory for the current operating system.
 // Setting the GOCACHE environment variable overrides this default,
 // and running 'go env GOCACHE' prints the current cache directory.
-// You can set the variable to 'off' to disable the cache.
 //
 // The go command periodically deletes cached data that has not been
 // used recently. Running 'go clean -cache' deletes all cached data.
index 973bfbc611d89d025ed1f2f451217d2f4c6f40ed..6545a43abe49d3a2e9bf59ebdf4044172170f434 100644 (file)
@@ -705,7 +705,6 @@ The default location for cache data is a subdirectory named go-build
 in the standard user cache directory for the current operating system.
 Setting the GOCACHE environment variable overrides this default,
 and running 'go env GOCACHE' prints the current cache directory.
-You can set the variable to 'off' to disable the cache.
 
 The go command periodically deletes cached data that has not been
 used recently. Running 'go clean -cache' deletes all cached data.