| Index: tools/push-to-trunk/git_recipes.py
|
| diff --git a/tools/push-to-trunk/git_recipes.py b/tools/push-to-trunk/git_recipes.py
|
| index 094a5b0abff5acdf0b02bc4a5239c2c6dc03857e..6ffb2da83405d85322471607e126624021d1abbb 100644
|
| --- a/tools/push-to-trunk/git_recipes.py
|
| +++ b/tools/push-to-trunk/git_recipes.py
|
| @@ -147,7 +147,8 @@ class GitRecipesMixin(object):
|
| args.append(Quoted(patch_file))
|
| self.Git(MakeArgs(args))
|
|
|
| - def GitUpload(self, reviewer="", author="", force=False, cq=False):
|
| + def GitUpload(self, reviewer="", author="", force=False, cq=False,
|
| + bypass_hooks=False):
|
| args = ["cl upload --send-mail"]
|
| if author:
|
| args += ["--email", Quoted(author)]
|
| @@ -157,6 +158,8 @@ class GitRecipesMixin(object):
|
| args.append("-f")
|
| if cq:
|
| args.append("--use-commit-queue")
|
| + if bypass_hooks:
|
| + args.append("--bypass-hooks")
|
| # TODO(machenbach): Check output in forced mode. Verify that all required
|
| # base files were uploaded, if not retry.
|
| self.Git(MakeArgs(args), pipe=False)
|
|
|