1
2
3
4
5
6
7
8
9
10
11 package org.eclipse.jgit.merge;
12
13 import org.eclipse.jgit.lib.Config;
14 import org.eclipse.jgit.lib.ObjectInserter;
15 import org.eclipse.jgit.lib.Repository;
16
17
18
19
20
21
22 public class StrategyRecursive extends StrategyResolve {
23
24
25 @Override
26 public ThreeWayMerger newMerger(Repository db) {
27 return new RecursiveMerger(db, false);
28 }
29
30
31 @Override
32 public ThreeWayMerger newMerger(Repository db, boolean inCore) {
33 return new RecursiveMerger(db, inCore);
34 }
35
36
37 @Override
38 public ThreeWayMerger newMerger(ObjectInserter inserter, Config config) {
39 return new RecursiveMerger(inserter, config);
40 }
41
42
43 @Override
44 public String getName() {
45 return "recursive";
46 }
47 }