commit | 69da225aa6e9f439011c7458bbbddd52b133aea9 | [log] [tgz] |
---|---|---|
author | Russ Cox <rsc@golang.org> | Mon Oct 02 10:03:11 2017 -0400 |
committer | Russ Cox <rsc@golang.org> | Fri Nov 10 03:13:48 2017 +0000 |
tree | fb3b060260b8dcba4a42e997114e5f82b43d207b | |
parent | 0bdc7edde01a92e96255c6845b536d59706b9542 [diff] |
git-codereview: overlap 'git fetch -q' with Gerrit queries in pending Right now 'git fetch -q' takes about one second because of Gerrit advertising far too many refs. Overlap the fetch with all the other work, to at least reduce the overall time for 'git pending'. The Gerrit team is aware of the refs advertisement problem and a fix is planned for the next few months. That fix will speed things up even further. Change-Id: Iad57da9f1af1c6eae144fe28e5f96f79234bf3cd Reviewed-on: https://go-review.googlesource.com/67572 Reviewed-by: Austin Clements <austin@google.com>
The git-codereview tool is a command-line tool for working with Gerrit.
The easiest way to install is to run go get -u golang.org/x/review
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/review
.
The review binary itself is available at golang.org/x/review/git-codereview
. Run git codereview hooks
to install Gerrit hooks for your git repository.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the review repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/review:” in the subject line, so it is easy to find.