]> Cypherpunks repositories - gostls13.git/commitdiff
doc: add important info for would-be go contributors.
authorJonathan Feinberg <feinberg@google.com>
Wed, 26 Sep 2012 18:39:31 +0000 (14:39 -0400)
committerRuss Cox <rsc@golang.org>
Wed, 26 Sep 2012 18:39:31 +0000 (14:39 -0400)
Link to the "installing from source" docs instead of the "installing" docs.

Remind would-be hacker to switch to the default branch from the release branch.

R=rsc
CC=golang-dev
https://golang.org/cl/6559043

doc/contribute.html
doc/install-source.html

index 6c0d78549b984af47cd3a9325dae46df2f8685d4..7a80fca012dbe12e0f05216de59593c3c721ddd0 100644 (file)
@@ -7,7 +7,7 @@
 <p>
 This document explains how to contribute changes to the Go project.
 It assumes you have installed Go using the
-<a href="/doc/install">installation instructions</a> and
+<a href="/doc/install/source">installation instructions</a> and
 have <a href="code.html">written and tested your code</a>.
 (Note that the <code>gccgo</code> frontend lives elsewhere;
 see <a href="gccgo_contribute.html">Contributing to gccgo</a>.)
index d9f9577a6776fba5336b29d48536bfaa837f2499..d356cdfc0a9b6311fa9b8b72e92a24c4926a6312 100644 (file)
@@ -150,6 +150,18 @@ Then check out the repository:</p>
 $ hg clone -u release https://code.google.com/p/go
 </pre>
 
+<h2 id="head">(Optional) Switch to the default branch</h2>
+
+<p>If you intend to modify the go source code, and
+<a href="/doc/contribute.html">contribute your changes</a>
+to the project, then move your repository
+off the release branch, and onto the default (development) branch.
+Otherwise, skip this step.</p>
+
+<pre>
+$ hg update default
+</pre>
+
 <h2 id="install">Install Go</h2>
 
 <p>