commit | 541f6aec3b30c1bd064ea95cdaaf57f4e65bef4d | [log] [tgz] |
---|---|---|
author | Russ Cox <rsc@golang.org> | Thu Jan 07 12:26:06 2021 -0500 |
committer | Russ Cox <rsc@golang.org> | Thu Jan 07 17:26:24 2021 +0000 |
tree | 660810907f7bd23d80f421446509fb685d041b59 | |
parent | 9593f86427dedbe2eda472886bd2a4f8c965abf5 [diff] |
git-codereview: update tests for "main" branch default "git init ." leaves me on "main" now, not "master". Update tests to expect that, and update the "tracking" message too (otherwise the tests fail). Because not all gits agree about the initial branch name, set it explicitly too in the test. Fixes #42926. Change-Id: If3adb3bb53beba9efcd75cad0f081f59fba85fe7 Reviewed-on: https://go-review.googlesource.com/c/review/+/279873 Trust: Russ Cox <rsc@golang.org> Reviewed-by: Matthew Dempsky <mdempsky@google.com> 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/git-codereview
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/review
.
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.