summaryrefslogtreecommitdiffstats
path: root/subcmds
diff options
context:
space:
mode:
authorShawn O. Pearce <sop@google.com>2010-07-15 17:00:14 -0700
committerShawn O. Pearce <sop@google.com>2010-07-15 17:03:19 -0700
commit3575b8f8bdc5f15de23db82499e0ce152f634a19 (patch)
treed5938307c3a751e36be71653f1d902018dd1198f /subcmds
parenta5ece0e0505324218f38af02a1fe046ca2bcc278 (diff)
downloadgit-repo-3575b8f8bdc5f15de23db82499e0ce152f634a19.tar.gz
upload: Allow review.HOST.username to override emailv1.6.10
Some users might need to use a different login name than the local part of their email address for their Gerrit Code Review user account. Allow it to be overridden with the review.HOST.username configuration variable. Change-Id: I714469142ac7feadf09fee9c26680c0e09076b75 Signed-off-by: Shawn O. Pearce <sop@google.com>
Diffstat (limited to 'subcmds')
-rw-r--r--subcmds/upload.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/subcmds/upload.py b/subcmds/upload.py
index 569e31c1..b47b37b8 100644
--- a/subcmds/upload.py
+++ b/subcmds/upload.py
@@ -92,6 +92,11 @@ review.URL.autocopy can be set to a comma separated list of reviewers
92who you always want copied on all uploads with a non-empty --re 92who you always want copied on all uploads with a non-empty --re
93argument. 93argument.
94 94
95review.URL.username:
96
97Override the username used to connect to Gerrit Code Review.
98By default the local part of the email address is used.
99
95The URL must match the review URL listed in the manifest XML file, 100The URL must match the review URL listed in the manifest XML file,
96or in the .git/config within the project. For example: 101or in the .git/config within the project. For example:
97 102