Disable cleaning if selection is empty
commit93486139fada417d9028ccf8fb1d00104fcf60ab
authorMatthias Sohn <matthias.sohn@sap.com>
Thu, 6 Feb 2014 13:55:09 +0000 (6 14:55 +0100)
committerRobin Stocker <robin@nibor.org>
Sun, 16 Feb 2014 17:21:29 +0000 (16 18:21 +0100)
tree597be5a502320c2f97664b2d08cfbb792f7770e5
parentc16854ae2cc10336b4b7f99ad0ff7d88b8ab54a6
Disable cleaning if selection is empty

The current implementation runs the git clean command even if no file or
directory is selected in the clean wizard. That may take quite some time
and may lead to cleaning the repository although the user expected
nothing to be cleaned.

Change-Id: If59bd58b0204a069d9cf77b5ffa05d4d566cf802
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Signed-off-by: Robin Stocker <robin@nibor.org>
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/UIText.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/clean/CleanRepositoryPage.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/clean/CleanWizard.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/uitext.properties