Set subject for commits on note branch when change/ps is created
Instead of using the default subject for commits on the note branch which is Update patch set XX be more specific when a change / patch set is created: Create change / Create patch set XX These messages are consistent with the ones that are set by ChangeRebuilder. Change-Id: I26a0154f92d55fe594d46be031047de27e37366c Signed-off-by: Edwin Kempin <ekempin@google.com>
This commit is contained in:
@@ -2245,6 +2245,7 @@ public class ReceiveCommits {
|
||||
Map<String, Short> approvals = new HashMap<>();
|
||||
ChangeUpdate update = updateFactory.create(
|
||||
changeCtl, newPatchSet.getCreatedOn());
|
||||
update.setSubject("Create patch set " + newPatchSet.getId().get());
|
||||
update.setPatchSetId(newPatchSet.getId());
|
||||
|
||||
if (magicBranch != null) {
|
||||
|
Reference in New Issue
Block a user