From 5f094154dd73255103d0bd68d66267956ce07848 Mon Sep 17 00:00:00 2001 From: Robin Rosenberg Date: Sun, 9 Sep 2012 21:02:40 +0200 Subject: Added new Status CLI command 'jgit status' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is a first basic implementation that displays current branch and list of files of various status, but isn't as refined as its native counterpart (e.g. does not say if we're ahead or behind the remote). It's been helpful in the diagnostic of bug #347885. Bug: 348318 CQ: 6769 Change-Id: Ifc35da608fbba652524c1b5b522e3c0d5369ad5e Signed-off-by: François Rey Signed-off-by: Robin Rosenberg --- .../src/org/eclipse/jgit/lib/CLIRepositoryTestCase.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'org.eclipse.jgit.pgm.test/src/org') 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 7d0acd76c4..24c40293e8 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 @@ -79,4 +79,8 @@ public class CLIRepositoryTestCase extends LocalDiskRepositoryTestCase { throws IOException { return JGitTestUtil.writeTrashFile(db, name, data); } + + protected void deleteTrashFile(final String name) throws IOException { + JGitTestUtil.deleteTrashFile(db, name); + } } -- cgit v1.2.3