| 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 1cbd8f5149802498e3d91fecc2d5f50a9c595ca9..96fa05acf64934d39ed6be06ccc2ff85cfd1d77b 100644
|
| --- a/tools/push-to-trunk/git_recipes.py
|
| +++ b/tools/push-to-trunk/git_recipes.py
|
| @@ -167,13 +167,15 @@ class GitRecipesMixin(object):
|
| # base files were uploaded, if not retry.
|
| self.Git(MakeArgs(args), pipe=False)
|
|
|
| - def GitCommit(self, message="", file_name=""):
|
| + def GitCommit(self, message="", file_name="", author=None):
|
| assert message or file_name
|
| args = ["commit"]
|
| if file_name:
|
| args += ["-aF", Quoted(file_name)]
|
| if message:
|
| args += ["-am", Quoted(message)]
|
| + if author:
|
| + args += ["--author", "\"%s <%s>\"" % (author, author)]
|
| self.Git(MakeArgs(args))
|
|
|
| def GitPresubmit(self):
|
|
|