Uses of Class
org.eclipse.jgit.merge.MergeStrategy
-
Packages that use MergeStrategy Package Description org.eclipse.jgit.api High-level API commands (the porcelain of JGit).org.eclipse.jgit.merge Content and commit history merge algorithms.org.eclipse.jgit.notes Git notes processing (for commits, etc). -
-
Uses of MergeStrategy in org.eclipse.jgit.api
Methods in org.eclipse.jgit.api with parameters of type MergeStrategy Modifier and Type Method Description CherryPickCommandCherryPickCommand. setStrategy(MergeStrategy strategy)Set theMergeStrategyMergeCommandMergeCommand. setStrategy(MergeStrategy mergeStrategy)Set merge strategyPullCommandPullCommand. setStrategy(MergeStrategy strategy)Set the @{code MergeStrategy}RebaseCommandRebaseCommand. setStrategy(MergeStrategy strategy)Set theMergeStrategy.RevertCommandRevertCommand. setStrategy(MergeStrategy strategy)Set the merge strategy to use for this revert commandStashApplyCommandStashApplyCommand. setStrategy(MergeStrategy strategy)Set theMergeStrategyto use.SubmoduleUpdateCommandSubmoduleUpdateCommand. setStrategy(MergeStrategy strategy)Setter for the fieldstrategy.Constructors in org.eclipse.jgit.api with parameters of type MergeStrategy Constructor Description MergeResult(ObjectId newHead, ObjectId base, ObjectId[] mergedCommits, MergeResult.MergeStatus mergeStatus, MergeStrategy mergeStrategy, Map<String,MergeResult<?>> lowLevelResults)Constructor for MergeResult.MergeResult(ObjectId newHead, ObjectId base, ObjectId[] mergedCommits, MergeResult.MergeStatus mergeStatus, MergeStrategy mergeStrategy, Map<String,MergeResult<?>> lowLevelResults, String description)Constructor for MergeResult.MergeResult(ObjectId newHead, ObjectId base, ObjectId[] mergedCommits, MergeResult.MergeStatus mergeStatus, MergeStrategy mergeStrategy, Map<String,MergeResult<?>> lowLevelResults, Map<String,ResolveMerger.MergeFailureReason> failingPaths, String description)Constructor for MergeResult. -
Uses of MergeStrategy in org.eclipse.jgit.merge
Subclasses of MergeStrategy in org.eclipse.jgit.merge Modifier and Type Class Description classStrategyOneSidedTrivial merge strategy to make the resulting tree exactly match an input.classStrategyRecursiveA three-way merge strategy performing a content-merge if necessaryclassStrategyResolveA three-way merge strategy performing a content-merge if necessaryclassStrategySimpleTwoWayInCoreMerges two commits together in-memory, ignoring any working directory.classThreeWayMergeStrategyA merge strategy to merge 2 trees, using a common base ancestor tree.Fields in org.eclipse.jgit.merge declared as MergeStrategy Modifier and Type Field Description static MergeStrategyMergeStrategy. OURSSimple strategy that sets the output tree to the first input tree.static MergeStrategyMergeStrategy. THEIRSSimple strategy that sets the output tree to the second input tree.Methods in org.eclipse.jgit.merge that return MergeStrategy Modifier and Type Method Description static MergeStrategy[]MergeStrategy. get()Get all registered strategies.static MergeStrategyMergeStrategy. get(String name)Locate a strategy by name.Methods in org.eclipse.jgit.merge with parameters of type MergeStrategy Modifier and Type Method Description static voidMergeStrategy. register(String name, MergeStrategy imp)Register a merge strategy so it can later be obtained by name.static voidMergeStrategy. register(MergeStrategy imp)Register a merge strategy so it can later be obtained by name. -
Uses of MergeStrategy in org.eclipse.jgit.notes
Constructors in org.eclipse.jgit.notes with parameters of type MergeStrategy Constructor Description NoteMapMerger(Repository db, NoteMerger noteMerger, MergeStrategy nonNotesMergeStrategy)Constructs a NoteMapMerger with customNoteMergerand customMergeStrategy.
-