Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 354852 - [sync] .gitignore files are not properly honored
Summary: [sync] .gitignore files are not properly honored
Status: NEW
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-16 11:49 EDT by Steffen Pingel CLA
Modified: 2011-08-17 17:25 EDT (History)
2 users (show)

See Also:


Attachments
screenshot (9.47 KB, image/png)
2011-08-16 11:50 EDT, Steffen Pingel CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steffen Pingel CLA 2011-08-16 11:49:18 EDT
I have excluded a directory in a .gitignore file but, nevertheless, it shows in the Synchronize view (see screenshot).  The git commit dialog properly ignores the reference directory.

$ cat org.eclipse.mylyn.help.sdk/.gitignore 
/doc.cnv.txt
/reference/
Comment 1 Steffen Pingel CLA 2011-08-16 11:50:03 EDT
Created attachment 201588 [details]
screenshot
Comment 2 Matthias Sohn CLA 2011-08-16 12:05:19 EDT
is this a duplicate of bug 322454 ?
Comment 3 Steffen Pingel CLA 2011-08-16 12:23:43 EDT
Shouldn't this be fixed in the latest nightly?
Comment 4 Dariusz Luksza CLA 2011-08-16 15:34:54 EDT
Actually latest nightly contains change I32bb63c96676f8213b800558e7d52eb67ae30b2a that slightly change sync-view implementation. But this change wasn't intended to fix this bug, and I'm quite surprised that it could fix something. Never the less if now this issue doesn't occur could we close this bug ?
Comment 5 Steffen Pingel CLA 2011-08-17 17:25:57 EDT
Still seeing this with 1.1.0.201108171106. It happens when I have an active synchronization and then do something like a Tycho build outside of the workspace. Generated directories (e.g. target) show up in the synchronize view after a refresh.