aboutsummaryrefslogtreecommitdiff
path: root/git-codereview/mail.go
diff options
context:
space:
mode:
Diffstat (limited to 'git-codereview/mail.go')
-rw-r--r--git-codereview/mail.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/git-codereview/mail.go b/git-codereview/mail.go
index 2e6c6a6..44d83d6 100644
--- a/git-codereview/mail.go
+++ b/git-codereview/mail.go
@@ -27,6 +27,7 @@ func cmdMail(args []string) {
trust = flags.Bool("trust", false, "add a Trust+1 vote to the CL")
trybot = flags.Bool("trybot", false, "run trybots on the uploaded CLs")
wip = flags.Bool("wip", false, "set the status of a change to Work-in-Progress")
+ noverify = flags.Bool("no-verify", false, "disable presubmits")
)
flags.Var(rList, "r", "comma-separated list of reviewers")
flags.Var(ccList, "cc", "comma-separated list of people to CC:")
@@ -155,6 +156,9 @@ func cmdMail(args []string) {
if *noKeyCheck {
args = append(args, "-o", "nokeycheck")
}
+ if *noverify {
+ args = append(args, "--no-verify")
+ }
args = append(args, "origin", refSpec)
run("git", args...)