Commit aaf2cc09 authored by Sergiy Byelozyorov's avatar Sergiy Byelozyorov Committed by Commit Bot

Implement --no-autocc flag for Gerrit

R=ehmaldonado@chromium.org, machenbach@chromium.org

Bug: 878303
Change-Id: Ic387bbdc9e8ee4b27b17505ca53e8873e20e4cda
Reviewed-on: https://chromium-review.googlesource.com/1238571Reviewed-by: 's avatarEdward Lesmes <ehmaldonado@chromium.org>
Commit-Queue: Sergiy Byelozyorov <sergiyb@chromium.org>
parent 8bdc1b8a
......@@ -3152,7 +3152,7 @@ class _GerritChangelistImpl(_ChangelistCodereviewBase):
reviewers = sorted(change_desc.get_reviewers())
# Add cc's from the CC_LIST and --cc flag (if any).
if not options.private:
if not options.private and not options.no_autocc:
cc = self.GetCCList().split(',')
else:
cc = []
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment