diff options
| -rw-r--r-- | git-codereview/doc.go | 2 | ||||
| -rw-r--r-- | git-codereview/mail.go | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/git-codereview/doc.go b/git-codereview/doc.go index 0754479..5f3e0b1 100644 --- a/git-codereview/doc.go +++ b/git-codereview/doc.go @@ -254,7 +254,7 @@ The -nokeycheck flag disables the Gerrit server check for committed files containing data that looks like public keys. (The most common time -nokeycheck is needed is when checking in test cases for cryptography libraries.) -The -trybot flag sets a Run-TryBot+1 vote on any uploaded changes. +The -trybot flag sets a Commit-Queue+1 vote on any uploaded changes. The Go project uses this vote to start running integration tests on the CL. During the transition between two CI systems, the environment variable GIT_CODEREVIEW_TRYBOT can be set to one of "luci", "farmer", or "both" diff --git a/git-codereview/mail.go b/git-codereview/mail.go index 4bcd85c..7fe2bcf 100644 --- a/git-codereview/mail.go +++ b/git-codereview/mail.go @@ -50,9 +50,9 @@ func cmdMail(args []string) { var trybotVotes []string switch os.Getenv("GIT_CODEREVIEW_TRYBOT") { - case "luci": + case "", "luci": trybotVotes = []string{"Commit-Queue+1"} - case "", "farmer": + case "farmer": trybotVotes = []string{"Run-TryBot"} case "both": trybotVotes = []string{"Commit-Queue+1", "Run-TryBot"} |
