diff options
author | Vadim Bendebury <vbendeb@chromium.org> | 2018-10-31 13:48:01 -0700 |
---|---|---|
committer | Vadim Bendebury <vbendeb@google.com> | 2018-11-05 14:01:05 -0800 |
commit | bd8f658823059a4b5998bea283342f80ae94e4df (patch) | |
tree | ea6ce3a06b93903f7e2ba5d139bab2c3399f179a /event_log.py | |
parent | 713c5872fb54c8094c0f5fa1523388efd81517cc (diff) | |
download | git-repo-bd8f658823059a4b5998bea283342f80ae94e4df.tar.gz |
Add option for git-repo to support 'silent' uploads
When --ne/--no-emails is added to 'repo upload' command line, gerrit
server will not generate notification emails.
project.py:Project.UploadForReview method is modified to accept a
string recognizable by gerrit to indicate different sets of destination
email addressees, but the upload command line allows only one option -
disable sending emails completely.
Default repo upload behavior is not being changed.
TEST=tried in the Chrome OS repo, observed that patches uploaded with
--ne or --no-emails indeed do not trigger any emails, while
patches uploaded without these command line options still trigger
email notifications.
Change-Id: I0301edec984907aedac277d883bd0e6d3099aedc
Diffstat (limited to 'event_log.py')
0 files changed, 0 insertions, 0 deletions