]> source.dussan.org Git - jgit.git/commitdiff
Let Resolve be the default Merge strategy 62/1462/1
authorChristian Halstrick <christian.halstrick@sap.com>
Mon, 23 Aug 2010 15:07:03 +0000 (17:07 +0200)
committerChristian Halstrick <christian.halstrick@sap.com>
Mon, 30 Aug 2010 23:29:49 +0000 (01:29 +0200)
the merge command should use by default the "resolve" merge strategy.

Change-Id: I6c6973a3397cca12bd8a6bd950d04b1766a08b4c
Signed-off-by: Christian Halstrick <christian.halstrick@sap.com>
org.eclipse.jgit/src/org/eclipse/jgit/api/MergeCommand.java

index 9f73fd1fca908985207663ef1545b63e98b0ac75..48920fe42efecbe79ff0fd42c1fb1c49bc7e8f8a 100644 (file)
@@ -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>();