Community
Participate
Working Groups
The Git Staging view shows excluded resources as unstaged changes (deleted files). "$ git status" doesn't care about excluded resources, so EGit also shouldn't show them as deleted. If one of the excluded resources is modified, then EGit should consider it as modified (since an external git command would also include it). Example: - clone git://git.eclipse.org/gitroot/platform/eclipse.platform.swt.git - import project eclipse.platform.swt\examples\org.eclipse.swt.snippets - add this to the .project file's <projectDescription> element: <filteredResources> <filter> <id>1319807984358</id> <name>src/org/eclipse/swt/snippets</name> <type>6</type> <matcher> <id>org.eclipse.ui.ide.multiFilter</id> <arguments>1.0-name-matches-false-true-Snippet(?:158|17[48]|195|209|267|277|306|32[139]|34[18]|352)\.java</arguments> </matcher> </filter> </filteredResources>
Markus, can you think of any scenario where we would want to deviate and follow the Eclipse workspace model? The reason this doesn't work right now is because we're calling IContainer's members(int) method that doesn't return the filtered resources.
> Markus, can you think of any scenario where we would want to deviate and follow > the Eclipse workspace model? No, I think any deviation from the command line Git is calling for trouble (bug 359052 is a similar example).
A change set has been pushed to Gerrit for review. http://egit.eclipse.org/r/#change,4442 Thank you for the bug report, Markus.
merged as d06b00ff457eb2f935340b4d7b582329a39dc994