]> source.dussan.org Git - jgit.git/commit
Simplify development of commands: added main() to CLIGitCommand 15/63315/3
authorAndrey Loskutov <loskutov@gmx.de>
Mon, 28 Dec 2015 14:42:04 +0000 (15:42 +0100)
committerAndrey Loskutov <loskutov@gmx.de>
Mon, 28 Dec 2015 21:59:59 +0000 (22:59 +0100)
commit241b50be319e29cfae2ab1a5fcec94e7931074f8
tree2d061ed7fe68dedb2cd31fef1d07689072c83296
parentef757a7e126e059bd0afe64949440813df791de3
Simplify development of commands: added main() to CLIGitCommand

This will execute git commands (with arguments) specified on the command
line, handy for developing/debugging a sequence of arbitrary git
commands working on same repository.

The git working dir path can be specified via Java system property
"git_work_tree". If not specified, current directory will be used.

Change-Id: I621a9ec198c31e28a383818efeb4b3f835ba1d6f
Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
org.eclipse.jgit.pgm.test/META-INF/MANIFEST.MF
org.eclipse.jgit.pgm.test/src/org/eclipse/jgit/lib/CLIRepositoryTestCase.java
org.eclipse.jgit.pgm.test/src/org/eclipse/jgit/pgm/CLIGitCommand.java
org.eclipse.jgit/META-INF/MANIFEST.MF