diff options
| author | Russ Cox <rsc@golang.org> | 2020-09-11 11:05:28 -0400 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2020-09-11 20:38:40 +0000 |
| commit | 0edcedeff807fefacf0249cdc78b5db4d956f514 (patch) | |
| tree | 75746bc6378f2a57d0365b8789d923d82faf4af3 /git-codereview/submit.go | |
| parent | 3c482744cb56e16a5547cb048a12845d62497497 (diff) | |
| download | go-x-review-0edcedeff807fefacf0249cdc78b5db4d956f514.tar.xz | |
git-codereview: add mail -trust to set Trust+1 vote
The expectation is that approvers will change their .gitconfig
to define mail as codereview mail -trust.
For golang/go#40699.
Change-Id: I2a1040bf3f1c7248e9c361e1f2a83c17870b1df5
Reviewed-on: https://go-review.googlesource.com/c/review/+/254421
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Andrew Bonventre <andybons@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'git-codereview/submit.go')
| -rw-r--r-- | git-codereview/submit.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-codereview/submit.go b/git-codereview/submit.go index bff713d..1f6f25f 100644 --- a/git-codereview/submit.go +++ b/git-codereview/submit.go @@ -99,7 +99,7 @@ func submit(b *Branch, c *Commit) *GerritChange { if c.Hash != g.CurrentRevision { run("git", "push", "-q", "origin", b.PushSpec(c)) - // Refetch change information, especially mergeable. + // Refetch change information. g, err = b.GerritChange(c, "LABELS", "CURRENT_REVISION") if err != nil { dief("%v", err) |
