aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Gerrand <adg@golang.org>2014-11-03 17:01:17 +1100
committerAndrew Gerrand <adg@golang.org>2014-11-03 17:01:17 +1100
commitb802240300a33024c1a47fdf2c5260a3fad0155b (patch)
treedbff154c4f9c8a8a60da270b76326f55161411fb
parent8e01fc7e9b531398e868d9899c91a9f052f015c7 (diff)
downloadgo-b802240300a33024c1a47fdf2c5260a3fad0155b.tar.gz
go-b802240300a33024c1a47fdf2c5260a3fad0155b.zip
doc: document go get -f flag in 1.4 release notes
LGTM=r, rsc R=r, rsc, adg CC=golang-codereviews https://golang.org/cl/168890043
-rw-r--r--doc/go1.4.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/go1.4.html b/doc/go1.4.html
index cb2280cb4d..3310117a4d 100644
--- a/doc/go1.4.html
+++ b/doc/go1.4.html
@@ -372,6 +372,15 @@ and should be removed manually.
</p>
<p>
+To complement this new feature, a check has been added at update time to verify
+that the local package's remote repository matches that of its custom import.
+The <code>go</code> <code>get</code> <code>-u</code> command will fail to
+update a package if its remote repository has changed since it was first
+downloaded.
+The new <code>-f</code> flag overrides this check.
+</p>
+
+<p>
Further information is in
<a href="http://golang.org/s/go14customimport">the design document</a>.
</p>