diff options
author | Matthias Sohn <matthias.sohn@sap.com> | 2014-02-10 08:10:31 +0100 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2014-05-12 17:12:48 -0400 |
commit | bbf28b1cf4c7a6e2d4fdafd31b79777251d20094 (patch) | |
tree | 3f68dd0b6535b5755398f20f482d9c1c56e6deee /org.eclipse.jgit.pgm.test/src | |
parent | b13907f0869141b1a1342b33de35e515fe8ce124 (diff) | |
download | jgit-bbf28b1cf4c7a6e2d4fdafd31b79777251d20094.tar.gz jgit-bbf28b1cf4c7a6e2d4fdafd31b79777251d20094.zip |
Command line: implement checkout -- <path>
Change-Id: I3d261e6541fe0fcaa210587d2aa226e153071351
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.jgit.pgm.test/src')
-rw-r--r-- | org.eclipse.jgit.pgm.test/src/org/eclipse/jgit/lib/CLIRepositoryTestCase.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/org.eclipse.jgit.pgm.test/src/org/eclipse/jgit/lib/CLIRepositoryTestCase.java b/org.eclipse.jgit.pgm.test/src/org/eclipse/jgit/lib/CLIRepositoryTestCase.java index a328baec27..50ddfe04d8 100644 --- a/org.eclipse.jgit.pgm.test/src/org/eclipse/jgit/lib/CLIRepositoryTestCase.java +++ b/org.eclipse.jgit.pgm.test/src/org/eclipse/jgit/lib/CLIRepositoryTestCase.java @@ -81,6 +81,10 @@ public class CLIRepositoryTestCase extends LocalDiskRepositoryTestCase { return JGitTestUtil.writeTrashFile(db, name, data); } + protected String read(final File file) throws IOException { + return JGitTestUtil.read(file); + } + protected void deleteTrashFile(final String name) throws IOException { JGitTestUtil.deleteTrashFile(db, name); } |