diff options
author | Robin Rosenberg <robin.rosenberg@dewire.com> | 2012-09-09 21:02:40 +0200 |
---|---|---|
committer | Robin Rosenberg <robin.rosenberg@dewire.com> | 2012-09-09 21:10:59 +0200 |
commit | 5f094154dd73255103d0bd68d66267956ce07848 (patch) | |
tree | 61949a85e180c233a801539e4af1f7542a7c2c2f /org.eclipse.jgit.pgm.test/src/org/eclipse/jgit | |
parent | e63f1c94f8f9a5b10da6c1e5932da33eb805230a (diff) | |
download | jgit-5f094154dd73255103d0bd68d66267956ce07848.tar.gz jgit-5f094154dd73255103d0bd68d66267956ce07848.zip |
Added new Status CLI command 'jgit status'
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 <eclipse.org@francois.rey.name>
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
Diffstat (limited to 'org.eclipse.jgit.pgm.test/src/org/eclipse/jgit')
-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 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); + } } |