CreateMergePatchSet: Implement 'author' to tweak Git commit author

This change implements the same functionality as I54b98be6 but for
CreateMergePatchSet. Setting the newly exposed 'author' field requires
the caller to have 'forgeAuthor' permission.

Change-Id: Ia434ed0ed11489296d8c2aa9f8208faac293b563
This commit is contained in:
Patrick Hiesel
2020-10-06 13:22:07 +02:00
parent 8fc097141d
commit e8fc7974e8
5 changed files with 670 additions and 407 deletions

View File

@@ -14,9 +14,12 @@
package com.google.gerrit.extensions.common;
import com.google.gerrit.extensions.api.accounts.AccountInput;
public class MergePatchSetInput {
public String subject;
public boolean inheritParent;
public String baseChange;
public MergeInput merge;
public AccountInput author;
}