diff options
author | Matthias Sohn <matthias.sohn@sap.com> | 2013-03-25 03:39:58 +0100 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2013-04-15 21:46:12 +0200 |
commit | aa7be667bcca4bdb28b2485e28a05da54c431df7 (patch) | |
tree | 225b7caa073e96f1c5ef3ed83a65eaec6dcaa66a /org.eclipse.jgit.pgm.test | |
parent | eaa52b12f542e1d52c277989533a3c1bea3cc02e (diff) | |
download | jgit-aa7be667bcca4bdb28b2485e28a05da54c431df7.tar.gz jgit-aa7be667bcca4bdb28b2485e28a05da54c431df7.zip |
Make recursive merge strategy the default merge strategy
Use recursive merge as the default strategy since it can successfully
merge more cases than the resolve strategy can. This is also the default
in native Git.
Change-Id: I38fd522edb2791f15d83e99038185edb09fed8e1
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.jgit.pgm.test')
-rw-r--r-- | org.eclipse.jgit.pgm.test/tst/org/eclipse/jgit/pgm/MergeTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit.pgm.test/tst/org/eclipse/jgit/pgm/MergeTest.java b/org.eclipse.jgit.pgm.test/tst/org/eclipse/jgit/pgm/MergeTest.java index d0b363baa9..8c5066af5f 100644 --- a/org.eclipse.jgit.pgm.test/tst/org/eclipse/jgit/pgm/MergeTest.java +++ b/org.eclipse.jgit.pgm.test/tst/org/eclipse/jgit/pgm/MergeTest.java @@ -97,7 +97,7 @@ public class MergeTest extends CLIRepositoryTestCase { git.add().addFilepattern("side").call(); git.commit().setMessage("side commit").call(); - assertEquals("Merge made by the '" + MergeStrategy.RESOLVE.getName() + assertEquals("Merge made by the '" + MergeStrategy.RECURSIVE.getName() + "' strategy.", execute("git merge master")[0]); } |