| 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 0f8fcef26d05fc08611974059a095a7d9c6a306c..d146748d0343a36c76841dcd735c5975c958775b 100644
|
| --- a/tools/push-to-trunk/git_recipes.py
|
| +++ b/tools/push-to-trunk/git_recipes.py
|
| @@ -194,7 +194,7 @@ class GitRecipesMixin(object):
|
| self.Git(MakeArgs(args), **kwargs)
|
|
|
| def GitUpload(self, reviewer="", author="", force=False, cq=False,
|
| - bypass_hooks=False, **kwargs):
|
| + bypass_hooks=False, cc="", **kwargs):
|
| args = ["cl upload --send-mail"]
|
| if author:
|
| args += ["--email", Quoted(author)]
|
| @@ -206,6 +206,8 @@ class GitRecipesMixin(object):
|
| args.append("--use-commit-queue")
|
| if bypass_hooks:
|
| args.append("--bypass-hooks")
|
| + if cc:
|
| + args += ["-cc", Quoted(cc)]
|
| # TODO(machenbach): Check output in forced mode. Verify that all required
|
| # base files were uploaded, if not retry.
|
| self.Git(MakeArgs(args), pipe=False, **kwargs)
|
|
|