Commit 7c3841ab authored by phajdan.jr's avatar phajdan.jr Committed by Commit bot

git cl set-commit: actually apply passed --rietveld / --gerrit options

BUG=600945

Recipe-Tryjob-Bypass-Reason: expectation changes expected and wanted
Review-Url: https://codereview.chromium.org/2234873002
parent 6859823b
......@@ -4731,7 +4731,7 @@ def CMDset_commit(parser, args):
if options.dry_run and options.clear:
parser.error('Make up your mind: both --dry-run and --clear not allowed')
cl = Changelist(auth_config=auth_config)
cl = Changelist(auth_config=auth_config, codereview=options.forced_codereview)
if options.clear:
state = _CQState.NONE
elif options.dry_run:
......
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