Disable draft magic branch option per default
repo-tool still doesn't support private and work-in-progress change
workflow. This is the reason, draft magic branch option is still
supported. For other projects, that do not depend on repo-tool it's
very confusing that the draft push option is still supported, even
though the draft workflow was replaced by work-in-progress workflow.
There were attempts to alleviate the situation, with a number of
different approaches, like: I8a992d8d7b and Ie585bb48cc, but the
review was staled.
Bug: Issue 8933
Change-Id: Ia15ffbb430a1de970ca778a36b6fa50021c9b19d
diff --git a/Documentation/config-gerrit.txt b/Documentation/config-gerrit.txt
index 68e308d..d0ea6d0 100644
--- a/Documentation/config-gerrit.txt
+++ b/Documentation/config-gerrit.txt
@@ -1097,6 +1097,17 @@
+
Default is true.
+[[change.allowDrafts]]change.allowDrafts::
++
+Legacy support for drafts workflow. If set to true, pushing a new change
+with draft option will create a private change. Pushing with draft option
+to an existing change will create change edit.
++
+Enabling this option allows to push to the `refs/drafts/branch`. When
+disabled any push to `refs/drafts/branch` will be rejected.
++
+Default is false.
+
[[change.cacheAutomerge]]change.cacheAutomerge::
+
When reviewing diff commits, the left-hand side shows the output of the