]> source.dussan.org Git - jgit.git/commitdiff
Add the intended file to avoid breakage 10/7910/2
authorRobin Rosenberg <robin.rosenberg@dewire.com>
Mon, 24 Sep 2012 22:51:20 +0000 (00:51 +0200)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Tue, 25 Sep 2012 16:46:41 +0000 (18:46 +0200)
This case breaks when the default is to disallow empty commits.

Change-Id: Ibc223092eefe9f4b21374717dee5a9399bf890f9

org.eclipse.jgit.test/tst/org/eclipse/jgit/merge/ResolveMergerTest.java

index 30e046ea5109f5922f2402c9de4952c2910a913a..63c63eaa27ce5e42dececb1c1ed7e2b4e725b821 100644 (file)
@@ -89,7 +89,7 @@ public class ResolveMergerTest extends RepositoryTestCase {
                file = new File(db.getWorkTree(), "unrelated.txt");
                write(file, "unrelated");
 
-               git.add().addFilepattern("unrelated").call();
+               git.add().addFilepattern("unrelated.txt").call();
                RevCommit head = git.commit().setMessage("Adding another file").call();
 
                // Untracked file to cause failing path for delete() of folder1