summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.test/tst/org/eclipse
diff options
context:
space:
mode:
authorDave Borowitz <dborowitz@google.com>2013-05-03 11:22:25 -0700
committerGerrit Code Review @ Eclipse.org <gerrit@eclipse.org>2013-05-05 11:48:41 -0400
commitb0326235e1188e1931a9429c60c59495e43bd740 (patch)
tree9a0059352656709cee67fae602ec29c26aede55c /org.eclipse.jgit.test/tst/org/eclipse
parenta626f9fd66efa9653bf3292018a8dd3ac2be94e3 (diff)
downloadjgit-b0326235e1188e1931a9429c60c59495e43bd740.tar.gz
jgit-b0326235e1188e1931a9429c60c59495e43bd740.zip
Remove unused repository field from RevWalk
The comment about legacy Tag and Object types no longer applies, though prior to Idb273d5a92849b42935ac14eed73b796b80aad50 the field was still being used by RewriteTreeFilter. Change-Id: I9ee5da8f8a3b61c9cf543817c03117ee0609dd8f
Diffstat (limited to 'org.eclipse.jgit.test/tst/org/eclipse')
-rw-r--r--org.eclipse.jgit.test/tst/org/eclipse/jgit/revwalk/RevWalkShallowTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit.test/tst/org/eclipse/jgit/revwalk/RevWalkShallowTest.java b/org.eclipse.jgit.test/tst/org/eclipse/jgit/revwalk/RevWalkShallowTest.java
index 479d9d304a..3e45d2eb9e 100644
--- a/org.eclipse.jgit.test/tst/org/eclipse/jgit/revwalk/RevWalkShallowTest.java
+++ b/org.eclipse.jgit.test/tst/org/eclipse/jgit/revwalk/RevWalkShallowTest.java
@@ -189,7 +189,7 @@ public class RevWalkShallowTest extends RevWalkTestCase {
final StringBuilder builder = new StringBuilder();
for (ObjectId commit : shallowCommits)
builder.append(commit.getName() + "\n");
- JGitTestUtil.write(new File(rw.repository.getDirectory(), "shallow"),
+ JGitTestUtil.write(new File(db.getDirectory(), "shallow"),
builder.toString());
}
}