Browse Source

Let Resolve be the default Merge strategy

the merge command should use by default the "resolve" merge strategy.

Change-Id: I6c6973a3397cca12bd8a6bd950d04b1766a08b4c
Signed-off-by: Christian Halstrick <christian.halstrick@sap.com>
stable-0.9
Christian Halstrick 14 years ago
parent
commit
47f4171315
  1. 2
      org.eclipse.jgit/src/org/eclipse/jgit/api/MergeCommand.java

2
org.eclipse.jgit/src/org/eclipse/jgit/api/MergeCommand.java

@ -84,7 +84,7 @@ import org.eclipse.jgit.treewalk.FileTreeIterator;
*/
public class MergeCommand extends GitCommand<MergeResult> {
private MergeStrategy mergeStrategy = MergeStrategy.SIMPLE_TWO_WAY_IN_CORE;
private MergeStrategy mergeStrategy = MergeStrategy.RESOLVE;
private List<Ref> commits = new LinkedList<Ref>();

Loading…
Cancel
Save