Implement sticky approvals with copyMaxScore
Labels that have copyMaxScore set true are automatically copied to the
new patch set. This permits projects to enable Code-Review+2 to always
move forward, avoiding the need to re-review trivial fixups.
Change-Id: Ib5f1acb69937cb61897d79cb9a966744fa57b9c1
diff --git a/Documentation/config-labels.txt b/Documentation/config-labels.txt
index 40c380c..3d0f827 100644
--- a/Documentation/config-labels.txt
+++ b/Documentation/config-labels.txt
@@ -219,6 +219,14 @@
If true, the lowest possible negative value for the label is copied
forward when a new patch set is uploaded.
+[[label_copyMaxScore]]
+`label.Label-Name.copyMaxScore`
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+If true, the highest possible positive value for the label is copied
+forward when a new patch set is uploaded. This can be used to enable
+sticky approvals, reducing turn-around for trivial cleanups prior to
+submitting a change.
[[label_canOverride]]
`label.Label-Name.canOverride`