Bug 418210

Summary: Improve integration and UI of "Clean..." action
Product: [Technology] EGit Reporter: Robin Stocker <robin>
Component: UIAssignee: Project Inbox <egit.ui-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: daniel_megert, denny.stepanek, dh_tue, markus.kell.r, matthias.sohn, patrick.pollo.guilbert
Version: 3.2Keywords: bugday, helpwanted
Target Milestone: ---   
Hardware: All   
OS: All   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=465512
Whiteboard:

Description Robin Stocker CLA 2013-09-27 13:51:53 EDT
Originally in bug 338717 comment 11:

The 'Clean...' action is now there but it is not very handy yet:

- it is only in the 'Git Repositories' view
- I can't apply it on a project (or folder)
- the UI shows the untracked files as list which makes it hard to quickly
  clean a concrete project (or folder)

Minor details:
- the icon with the no entry sign looks a bit strange. I would use an eraser as
  overly
- the mnemonic is missing
Comment 1 Robin Stocker CLA 2014-02-16 13:13:42 EST
Change for adding to Team menu and adding missing mnemonic:

https://git.eclipse.org/r/22062
Comment 2 Matthias Sohn CLA 2014-02-16 16:08:18 EST
merged as a04f8f83df45661037cb7976148ed4e5d3a4a01a

now "Clean" is available on projects and the missing mnemonic was added
Comment 3 Markus Keller CLA 2015-04-23 06:03:16 EDT
My 90% use case for the Clean command is to clean a selected folder and all its subfolders. I still have to go to the command line and do

$ git clean -dfx <path-to-folder>
Comment 4 Markus Keller CLA 2015-04-23 06:19:33 EDT
Unfortunately, Replace With > ... is also wrong in EGit, see bug 384602 comment 7
Comment 5 Patrick-Jeffrey Pollo Guilbert CLA 2016-06-02 11:14:35 EDT
+1 Right now you can only clean a selected project, but not a folder or a file for example.