Clarify documentation of label carryover config settings

Change-Id: I2f6f156ccc1804fcd073a14223ac62911ab1c35c
This commit is contained in:
Aaron Gable
2019-07-17 11:20:56 -07:00
parent ab7a2027ac
commit 49768bf953

View File

@@ -297,12 +297,13 @@ Defaults to false.
[[label_copyAllScoresOnTrivialRebase]] [[label_copyAllScoresOnTrivialRebase]]
=== `label.Label-Name.copyAllScoresOnTrivialRebase` === `label.Label-Name.copyAllScoresOnTrivialRebase`
If true, all scores for the label are copied forward when a new patch If true, all scores for the label are copied forward when a new patch set is
set is uploaded that is a trivial rebase. A new patch set is considered uploaded that is a trivial rebase. A new patch set is considered to be trivial
as trivial rebase if the commit message is the same as in the previous rebase if the commit message is the same as in the previous patch set and if it
patch set and if it has the same code delta as the previous patch set. has the same diff (including context lines) as the previous patch set. This is
This is the case if the change was rebased onto a different parent, or the case if the change was rebased onto a different parent and that rebase did
if the parent did not change at all. not require git to perform any conflict resolution, or if the parent did not
change at all.
This can be used to enable sticky approvals, reducing turn-around for This can be used to enable sticky approvals, reducing turn-around for
trivial rebases prior to submitting a change. trivial rebases prior to submitting a change.
@@ -313,13 +314,13 @@ Defaults to false.
[[label_copyAllScoresIfNoCodeChange]] [[label_copyAllScoresIfNoCodeChange]]
=== `label.Label-Name.copyAllScoresIfNoCodeChange` === `label.Label-Name.copyAllScoresIfNoCodeChange`
If true, all scores for the label are copied forward when a new patch If true, all scores for the label are copied forward when a new patch set is
set is uploaded that has the same parent tree as the previous patch uploaded that has the same parent tree as the previous patch set and the same
set and the same code delta as the previous patch set. This means only code diff (including context lines) as the previous patch set. This means only
the commit message is different. This can be used to enable sticky the commit message is different; the change hasn't even been rebased. This can
approvals on labels that only depend on the code, reducing turn-around be used to enable sticky approvals on labels that only depend on the code,
if only the commit message is changed prior to submitting a change. reducing turn-around if only the commit message is changed prior to submitting a
For the Verified label that is optionally installed by the change. For the Verified label that is optionally installed by the
link:pgm-init.html[init] site program this is enabled by default. link:pgm-init.html[init] site program this is enabled by default.
Defaults to false. Defaults to false.