diff options
| author | Austin Clements <austin@google.com> | 2016-07-15 11:05:41 -0400 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2016-10-12 02:31:47 +0000 |
| commit | 7435a04d2dc76c3b9ae763e40140e086637d9826 (patch) | |
| tree | f1ddae20094b8edda5dafb9a3274db25a4912d0e | |
| parent | 9615674405d24ddf198471f1dd2d30fc558642b9 (diff) | |
| download | go-x-review-7435a04d2dc76c3b9ae763e40140e086637d9826.tar.xz | |
git-codereview: document mail -trybot flag
Change-Id: I86981168df8571e2408ef8bb5c5c0f21e0f3cca6
Reviewed-on: https://go-review.googlesource.com/24960
Reviewed-by: Russ Cox <rsc@golang.org>
| -rw-r--r-- | git-codereview/doc.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/git-codereview/doc.go b/git-codereview/doc.go index ebb1420..d6a5576 100644 --- a/git-codereview/doc.go +++ b/git-codereview/doc.go @@ -182,7 +182,7 @@ Mail The mail command starts the code review process for the pending change. - git codereview mail [-f] [-r email] [-cc email] [revision] + git codereview mail [-f] [-r email] [-cc email] [-trybot] [revision] It pushes the pending change commit in the current branch to the Gerrit code review server and prints the URL for the change on the server. @@ -198,6 +198,9 @@ The mail command resolves such shortenings by reading the list of past reviewers from the git repository log to find email addresses of the form name@somedomain and then, in case of ambiguity, using the reviewer who appears most often. +The -trybot flag runs the trybots on all new or updated changes. It is +equivalent to setting the Run-Trybot+1 label from Gerrit. + The mail command fails if there are staged edits that are not committed. The -f flag overrides this behavior. |
