Simplify PatchSetInserter.Factory signature
Pass a ChangeControl instead of a RefControl, from which the change and user can be gotten. Change-Id: I95e682bdda69071237ad878586f06b10e4266146
This commit is contained in:
@@ -416,7 +416,7 @@ public class ChangeUtil {
|
||||
+ ": Commit message was updated";
|
||||
|
||||
change = patchSetInserterFactory
|
||||
.create(git, revWalk, ctl.getRefControl(), user(), change, newCommit)
|
||||
.create(git, revWalk, ctl, newCommit)
|
||||
.setPatchSet(newPatchSet)
|
||||
.setMessage(msg)
|
||||
.setCopyLabels(true)
|
||||
|
Reference in New Issue
Block a user