Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 456852 - EGit incorrectly includes .gitignore-ed files using "**/something" pattern
Summary: EGit incorrectly includes .gitignore-ed files using "**/something" pattern
Status: CLOSED DUPLICATE of bug 416348
Alias: None
Product: EGit
Classification: Technology
Component: Core (show other bugs)
Version: 3.4.1   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Andrey Loskutov CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-07 00:16 EST by Hendy Irawan CLA
Modified: 2015-02-07 17:45 EST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hendy Irawan CLA 2015-01-07 00:16:41 EST
My .gitignore has the following:

# IntelliJ
**/.idea/copyright
**/.idea/libraries
**/.idea/scopes
**/.idea/.name
**/.idea/*.xml
**/*.iml
**/*.ipr
**/*.iws
**/out/
**/.idea_modules/
atlassian-ide-plugin.xml

Just to pick one example, the rule "**/*.iml" correctly ignores *.iml files (can be directories) in this and any subdirectories below, tested with git command line and IntelliJ IDEA.

However, in Eclipse/EGit , that rule only ignores *.iml in directories BELOW the current directory. However, the *.iml files in current directory are still included.

Probably related to Bug 454672.

org.eclipse.egit (3.4.1.201406201815-r) "Git Team Provider" [Starting]
org.eclipse.egit.core (3.4.1.201406201815-r) "Git Team Provider Core" [Active]
org.eclipse.egit.doc (3.4.1.201406201815-r) "Git Team Provider Documentation" [Resolved]
org.eclipse.egit.github.core (3.4.0.201406110918-r) "EGit GitHub API Core" [Resolved]
org.eclipse.egit.mylyn.ui (3.4.1.201406201815-r) "EGit Mylyn UI" [Active]
org.eclipse.egit.ui (3.4.1.201406201815-r) "Git Team Provider UI" [Active]
org.eclipse.jgit (3.4.1.201406201815-r) "JGit Core" [Active]
org.eclipse.jgit.archive (3.4.1.201406201815-r) "JGit Archive Formats" [Starting]
Comment 1 Matthias Sohn CLA 2015-01-07 10:04:23 EST
please retry using jgit/egit 3.6.0, the ignore rule parser was rewritten (see bug 440732) to improve performance and also support ** patterns which weren't supported in earlier versions.
Comment 2 Waldemar Prabucki CLA 2015-02-07 17:42:41 EST
I've had same problem. After update to eGit 3.6.2. Everything works ok.
Comment 3 Andrey Loskutov CLA 2015-02-07 17:45:31 EST
Fixed with bug 440732

*** This bug has been marked as a duplicate of bug 416348 ***