summaryrefslogtreecommitdiff
path: root/src/cmd/go/doc.go
diff options
context:
space:
mode:
authorOndřej Surý <ondrej@sury.org>2012-05-02 15:44:55 +0200
committerOndřej Surý <ondrej@sury.org>2012-05-02 15:44:55 +0200
commit62e7d56f2c8706e5b88221cedac6769863ddf3b0 (patch)
treea48f46e27c9136335f8ab4db2da790556816554e /src/cmd/go/doc.go
parent37370279cdb95edc1ebb298a957147c907907988 (diff)
parent0003ee229fd33ff46cb5f2fe1e35f5c0284debc4 (diff)
downloadgolang-62e7d56f2c8706e5b88221cedac6769863ddf3b0.tar.gz
Merge commit 'upstream/1.0.1' into debian-sid
Diffstat (limited to 'src/cmd/go/doc.go')
-rw-r--r--src/cmd/go/doc.go14
1 files changed, 5 insertions, 9 deletions
diff --git a/src/cmd/go/doc.go b/src/cmd/go/doc.go
index 4bfd5236d..32ede3964 100644
--- a/src/cmd/go/doc.go
+++ b/src/cmd/go/doc.go
@@ -227,15 +227,11 @@ The -u flag instructs get to use the network to update the named packages
and their dependencies. By default, get uses the network to check out
missing packages but does not use it to look for updates to existing packages.
-When checking out or updating a package, get looks for a branch or
-tag that matches the locally installed version of Go. If the local
-version "is release.rNN", it searches for "go.rNN". (For an
-installation using Go version "weekly.YYYY-MM-DD", it searches for a
-package version labeled "go.YYYY-MM-DD".) If the desired version
-cannot be found but others exist with labels in the correct format,
-get retrieves the most recent version before the desired label.
-Finally, if all else fails it retrieves the most recent version of
-the package.
+When checking out or updating a package, get looks for a branch or tag
+that matches the locally installed version of Go. The most important
+rule is that if the local installation is running version "go1", get
+searches for a branch or tag named "go1". If no such version exists it
+retrieves the most recent version of the package.
For more about specifying packages, see 'go help packages'.