aboutsummaryrefslogtreecommitdiff
path: root/doc/contribute.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/contribute.html')
-rw-r--r--doc/contribute.html17
1 files changed, 8 insertions, 9 deletions
diff --git a/doc/contribute.html b/doc/contribute.html
index 5dc8a0044..68b2387d3 100644
--- a/doc/contribute.html
+++ b/doc/contribute.html
@@ -393,8 +393,8 @@ Remember you can always visit Gerrit to see the fine-grained review.
<p>
It is not possible to fully sync Gerrit and GitHub, at least at the moment,
so we recommend learning Gerrit.
-It's different but powerful and familiarity
-with help you understand the flow.
+It's different but powerful and familiarity with it will help you understand
+the flow.
</p>
<h3>Overview</h3>
@@ -405,7 +405,7 @@ This is an overview of the overall process:
<ul>
<li>
-<b>Step 1:</b> Clone the Go source code from go.googlesource.com
+<b>Step 1:</b> Clone the Go source code from <code>go.googlesource.com</code>
and make sure it's stable by compiling and testing it once:
<pre>
$ git clone https://go.googlesource.com/go
@@ -469,12 +469,11 @@ In addition to a recent Go installation, you need to have a local copy of the so
checked out from the correct repository.
You can check out the Go source repo onto your local file system anywhere
you want as long as it's outside your <code>GOPATH</code>.
-Either clone from
-<code>go.googlesource.com</code> or from GitHub:
+Clone from <code>go.googlesource.com</code> (not GitHub):
</p>
<pre>
-$ git clone https://github.com/golang/go # or https://go.googlesource.com/go
+$ git clone https://go.googlesource.com/go
$ cd go
</pre>
@@ -697,7 +696,7 @@ Don't use HTML, Markdown, or any other markup language.
<p>
Add any relevant information, such as benchmark data if the change
affects performance.
-The <a href="https://godoc.org/golang.org/x/tools/cmd/benchcmp">benchcmp</a>
+The <a href="https://godoc.org/golang.org/x/perf/cmd/benchstat">benchstat</a>
tool is conventionally used to format
benchmark data for change descriptions.
</p>
@@ -923,13 +922,13 @@ New files that you contribute should use the standard copyright header:
</p>
<pre>
-// Copyright 2018 The Go Authors. All rights reserved.
+// Copyright 2019 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
</pre>
<p>
-(Use the current year if you're reading this in 2019 or beyond.)
+(Use the current year if you're reading this in 2020 or beyond.)
Files in the repository are copyrighted the year they are added.
Do not update the copyright year on files that you change.
</p>