commit | 8be3abfe097ddf04b28eec2783249d29b3a48dae | [log] [tgz] |
---|---|---|
author | siddharth ravikumar <s@ricketyspace.net> | Mon Sep 11 22:34:15 2023 -0400 |
committer | Gopher Robot <gobot@golang.org> | Wed Oct 18 12:53:42 2023 +0000 |
tree | 7839249866fdd7da93221eaf0ef9ee2b82e44ba4 | |
parent | 406355a4df8af4b140e43c56c0c4c9869471edca [diff] |
git-codereview: make hooks command report conflicting hooks Display warning message when a hook is already installed and is different from the one installed by git-codereview. Improves upon CL 184417. Fixes golang/go#16777 Change-Id: I7579a3e86572e8b74f92317973e7cc7094b3942d Reviewed-on: https://go-review.googlesource.com/c/review/+/377034 Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Than McIntosh <thanm@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
The git-codereview tool is a command-line tool for working with Gerrit.
The easiest way to install is to run go install golang.org/x/review/git-codereview@latest
. 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.