Package com.google.gerrit.server.submit
Class MergeSuperSet
- java.lang.Object
-
- com.google.gerrit.server.submit.MergeSuperSet
-
public class MergeSuperSet extends Object
Calculates the minimal superset of changes required to be merged.This includes all parents between a change and the tip of its target branch for the merging/rebasing submit strategies. For the cherry-pick strategy no additional changes are included.
If change.submitWholeTopic is enabled, also all changes of the topic and their parents are included.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ChangeSet
completeChangeSet(Change change, CurrentUser user)
MergeSuperSet
setMergeOpRepoManager(MergeOpRepoManager orm)
static boolean
wholeTopicEnabled(org.eclipse.jgit.lib.Config config)
-
-
-
Method Detail
-
wholeTopicEnabled
public static boolean wholeTopicEnabled(org.eclipse.jgit.lib.Config config)
-
setMergeOpRepoManager
public MergeSuperSet setMergeOpRepoManager(MergeOpRepoManager orm)
-
completeChangeSet
public ChangeSet completeChangeSet(Change change, CurrentUser user) throws IOException, PermissionBackendException
-
-