If I push a commit as a draft, then update the commit and repush the change, the change transitions from draft to published.
For example
git commit -as -m "test"
git push ssh://review/test HEAD:refs/drafts/master
git commit --amend -as -m "test 2"
git push ssh://review/test HEAD:refs/changes/<change>
The change is no longer a draft. Is there a way I can upload a newer patchset to a change while leaving the change in the draft state?
We don't use the commit-msg hook and associated commit-id in the commit message. Does updating a patchset in a draft work when using commit-id? Or is there some other way to update patchsets in drafts?
Rich