Community
Participate
Working Groups
Created attachment 288652 [details] Example Screenshot.png Given a directory containing a directory "a" Then all files who's name starts also with "a" are not cleaned. For example ignored "a.txt" - while "b.txt" is correctly cleaned. The clean-dialog just does not show them. And as they are not selectable they are not cleaned. Note the options "Include ignored resources" is used. When using also the option "Clean selected untracked files *and directories*" the empty directory "a" is cleaned. A second call of the clean dialog will then show and clean "a.txt" too.
JGit's CleanCommand uses String.startsWith(), which doesn't work to determine whether one path is a prefix of another path.
New Gerrit change created: https://git.eclipse.org/r/c/jgit/jgit/+/194944
Gerrit change https://git.eclipse.org/r/c/jgit/jgit/+/194944 was merged to [master]. Commit: http://git.eclipse.org/c/jgit/jgit.git/commit/?id=8184683f7e8d0e62bb70ff27af92dcc2d7332939
thanks @Thomas!