public class StrategyResolve extends ThreeWayMergeStrategy
OURS, RECURSIVE, RESOLVE, SIMPLE_TWO_WAY_IN_CORE, THEIRS
Constructor and Description |
---|
StrategyResolve() |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
ThreeWayMerger |
newMerger(Repository db)
Create a new merge instance.
|
ThreeWayMerger |
newMerger(Repository db,
boolean inCore)
Create a new merge instance.
|
get, get, register, register
public ThreeWayMerger newMerger(Repository db)
MergeStrategy
newMerger
in class ThreeWayMergeStrategy
db
- repository database the merger will read from, and eventually
write results back to.public ThreeWayMerger newMerger(Repository db, boolean inCore)
MergeStrategy
newMerger
in class ThreeWayMergeStrategy
db
- repository database the merger will read from, and eventually
write results back to.inCore
- the merge will happen in memory, working folder will not be
modified, in case of a non-trivial merge that requires manual
resolution, the merger will fail.public String getName()
getName
in class MergeStrategy
Copyright © 2018 Eclipse JGit Project. All rights reserved.