Index: git_cl.py |
diff --git a/git_cl.py b/git_cl.py |
index a360cff377712e6b7f883d8f2ec450113202df9d..cad457fa50dcc00aac4f885bde7955919c67078e 100755 |
--- a/git_cl.py |
+++ b/git_cl.py |
@@ -1421,6 +1421,9 @@ def RietveldUpload(options, args, cl): |
change_desc = None |
+ if options.email is not None: |
+ upload_args.extend(['--email', options.email]) |
+ |
if cl.GetIssue(): |
if options.title: |
upload_args.extend(['--title', options.title]) |
@@ -1560,6 +1563,9 @@ def CMDupload(parser, args): |
parser.add_option('--target_branch', |
help='When uploading to gerrit, remote branch to ' |
'use for CL. Default: master') |
+ parser.add_option('--email', default=None, |
iannucci
2014/01/09 22:46:42
Hm... what about 'username'? Since git_cl already
pgervais
2014/01/09 22:50:55
Exactly :-)
It's not too late, I can change the n
|
+ help='email address to use to connect to Rietveld') |
+ |
add_git_similarity(parser) |
(options, args) = parser.parse_args(args) |