Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 328101 - .git/info/exclude entries starting with '/' have no effect
Summary: .git/info/exclude entries starting with '/' have no effect
Status: RESOLVED FIXED
Alias: None
Product: EGit
Classification: Technology
Component: Core (show other bugs)
Version: 0.10.0   Edit
Hardware: PC Linux
: P3 major with 1 vote (vote)
Target Milestone: 1.0.0   Edit
Assignee: Matthias Sohn CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-19 04:52 EDT by Robert Munteanu CLA
Modified: 2011-06-28 10:53 EDT (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Munteanu CLA 2010-10-19 04:52:58 EDT
When adding an entry with the value '/target' in .gitignore, the '/target' directory is ignored by both CGit and EGit. When moving the same entry in .git/info/exclude, the directory is ignored by CGit but not by EGit.
Comment 1 Nathan Jones CLA 2010-11-08 08:08:27 EST
It seems _all_ entries in .git/info/exclude are ignored by EGit (version 0.9.3).
Comment 2 Chris Aniszczyk CLA 2010-11-08 09:56:26 EST
Yes, we don't support '.git/info/exclude' yet.
Comment 3 Robert Munteanu CLA 2010-11-08 12:00:52 EST
Just to put things into context, git-svn generates these entries by default, in order not to 'pollute' the SVN repository with .gitignore files.
Comment 4 Mikko Rantalainen CLA 2011-01-05 09:38:30 EST
Duplicate of bug 328428?
Comment 5 Robert Munteanu CLA 2011-01-06 05:11:07 EST
Hm, possibly. At least I would retest once that bug is fixed.
Comment 6 Matthias Sohn CLA 2011-02-28 11:12:13 EST
proposed http://egit.eclipse.org/r/#change,2576 to fix this
Comment 7 Jens Baumgart CLA 2011-06-28 10:53:01 EDT
Merged as 4dea00dcb599aef7fedb891cdae2f6c084ba08fb