]> source.dussan.org Git - jgit.git/commit
Adapt Status and CleanCommand to support cleaning directories 72/4972/17
authorMarkus Duft <markus.duft@salomon.at>
Fri, 13 Jul 2012 06:31:10 +0000 (08:31 +0200)
committerChris Aniszczyk <zx@twitter.com>
Fri, 16 Nov 2012 20:17:28 +0000 (12:17 -0800)
commitf64237d5ff240cd62179f25fac7c40a9ffd5b2b8
tree8107eab0f447f4ce5c9fb998f38d46de6647121c
parentfb33e8021878651b10f8c4e0e387cbdda01056e1
Adapt Status and CleanCommand to support cleaning directories

This adds the possibility to:

 * retrieve untracked directories from the status
 * instruct the CleanCommand to clean those directories.
 * retrieve ignored paths from the status
 * instruct the CleanCommand to leave those ignored paths alone

Bug: 338717
Change-Id: Ibed0459005a5e306c010b9932f5b5fd107fb5448
Signed-off-by: Chris Aniszczyk <zx@twitter.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/api/CleanCommandTest.java
org.eclipse.jgit.test/tst/org/eclipse/jgit/api/StatusCommandTest.java
org.eclipse.jgit/src/org/eclipse/jgit/api/CleanCommand.java
org.eclipse.jgit/src/org/eclipse/jgit/api/Status.java