diff options
| author | Paul Jolly <paul@myitcv.io> | 2020-05-11 06:16:42 +0100 |
|---|---|---|
| committer | Paul Jolly <paul@myitcv.org.uk> | 2020-05-15 04:49:42 +0000 |
| commit | a2b90d2f6e29477343826a7b79798b588394f4aa (patch) | |
| tree | 9b1e2d3673716948e7051839e2eba4b1e1d970a0 /git-codereview/doc.go | |
| parent | 180dd7fcad2ad38f8a3b778687cac4c1a5ca7627 (diff) | |
| download | go-x-review-a2b90d2f6e29477343826a7b79798b588394f4aa.tar.xz | |
git-codereview: add -wip flag to mail command
Add a -wip flag to the mail command to set the status of a change to
work-in-progress. Per:
https://gerrit-review.googlesource.com/Documentation/intro-user.html#wip
Fixes golang/go#20991
Change-Id: I227beccb55570949e9b0f487d5394855611a118a
Reviewed-on: https://go-review.googlesource.com/c/review/+/233237
Reviewed-by: Daniel Martà <mvdan@mvdan.cc>
Reviewed-by: Andrew Bonventre <andybons@golang.org>
Diffstat (limited to 'git-codereview/doc.go')
| -rw-r--r-- | git-codereview/doc.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/git-codereview/doc.go b/git-codereview/doc.go index 7624909..8cf1e64 100644 --- a/git-codereview/doc.go +++ b/git-codereview/doc.go @@ -191,7 +191,7 @@ Mail The mail command starts the code review process for the pending change. - git codereview mail [-f] [-r email] [-cc email] [-trybot] [revision] + git codereview mail [-f] [-r email] [-cc email] [-trybot] [-wip] [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. @@ -210,6 +210,8 @@ 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 -wip flag sets the status of the change to work-in-progress. + The mail command fails if there are staged edits that are not committed. The -f flag overrides this behavior. |
