Community
Participate
Working Groups
Build Identifier: M20100909-0800 As of the fixing of #300964, EGit honors .gitignore (thanks!), but it doesn't also consult .git/info/excludes or any files listed in a file specified in the core.excludesfile config variable. This is inconsistent with Git behavior. Reproducible: Always Steps to Reproduce: 1. Add a filename to .git/info/excludes, but not to .gitignore 2. Alter or create the named file 3. Compare the output of "git status" on the command line with the EGit icon label on the file EGit shows the file as dirty, whereas Git honors the entry in .git/info/excludes and omits it from the list of changed files. 4. Add a file to the core.excludesfile config option (say, by running "git config --add core.excludesfile .moregitignore") 5. Repeat steps #1-3 using this file instead of .git/info/excludes Again, EGit and Git are inconsistent.
Also it is not checking .gitignore in parent folder(s), e.g. if using .gitignore in repository root, with eclipse project in a subdirectory, EGit is not honoring the .gitignore in repository root.
I'll look at this for 0.11... this is the last hole for .gitignore support
jgit commit e703b6c640f7b8b4aee84ce2661fce1da281d926 adds jgit support for core.excludesfile and fixes path resolution on cygwin Proposed http://egit.eclipse.org/r/#change,2576 to teach egit to respect ignore rules defined in .git/info/exclude and the file with the path specified by configuration parameter core.excludesfile. Proposed http://egit.eclipse.org/r/#change,2577 to fix decorator to never mark tracked files as ignored.
merged as 4dea00dcb599aef7fedb891cdae2f6c084ba08fb and 26151102373685482816da55a1f956d9d95c381c
*** Bug 324363 has been marked as a duplicate of this bug. ***