Chromium Code Reviews| Index: git_cl.py |
| diff --git a/git_cl.py b/git_cl.py |
| index c6d283c3c56d6c21b234ab0956548be4ce9406a6..2d9ced9689664dafe547ddd61bc5835e26b5d528 100755 |
| --- a/git_cl.py |
| +++ b/git_cl.py |
| @@ -2620,6 +2620,9 @@ class _GerritChangelistImpl(_ChangelistCodereviewBase): |
| if reviewers: |
| refspec_opts.extend('r=' + email.strip() for email in reviewers) |
| + if options.private: |
| + refspec_opts.append('draft') |
| + |
| refspec_suffix = '' |
| if refspec_opts: |
| refspec_suffix = '%' + ','.join(refspec_opts) |