aboutsummaryrefslogtreecommitdiff
path: root/git-codereview/review.go
diff options
context:
space:
mode:
authorJesús Espino <jespinog@gmail.com>2018-07-01 00:02:42 +0200
committerBrad Fitzpatrick <bradfitz@golang.org>2018-07-02 20:29:14 +0000
commit03b299b5f05180b4bd12d1de83501746dde90cc0 (patch)
tree10d78b847fa28e372ef200e38d84fc12b9090a2f /git-codereview/review.go
parent3faf27076323fb8383c9b24e875f37a630b2f213 (diff)
downloadgo-x-review-03b299b5f05180b4bd12d1de83501746dde90cc0.tar.xz
git-codereview: add -hashtag flag to the mail command
It is now possible to mail a CL with any number of hashtags. Fixes golang/go#26149 Change-Id: I231826f95ec357bd448de12a9a5aa30e581c3bb3 Reviewed-on: https://go-review.googlesource.com/121798 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'git-codereview/review.go')
-rw-r--r--git-codereview/review.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/git-codereview/review.go b/git-codereview/review.go
index 2e67396..a60e548 100644
--- a/git-codereview/review.go
+++ b/git-codereview/review.go
@@ -83,7 +83,7 @@ Available commands:
Every other operation except help also does this,
if they are not already installed.
- mail [-f] [-r reviewer,...] [-cc mail,...] [-trybot] [commit]
+ mail [-f] [-r reviewer,...] [-cc mail,...] [-trybot] [-hashtag tag,...] [commit]
Upload change commit to the code review server and send mail
requesting a code review.
If there are multiple commits on this branch, upload commits
@@ -94,6 +94,7 @@ Available commands:
Multiple addresses are given as a comma-separated list.
If -trybot is specified, the trybots are run on the changes,
if permitted.
+ The -hashtag flag applies hashtags to the code review.
mail -diff
Show the changes but do not send mail or upload.