Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 363955

Summary: staging view does not respect info/exclude
Product: [Technology] EGit Reporter: srini.mvaram
Component: UIAssignee: Project Inbox <egit.core-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: major    
Priority: P3 CC: rafal, remy.suen
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Linux   
Whiteboard:

Description srini.mvaram CLA 2011-11-16 13:57:43 EST
Hi,
I am using info/exclude in .git to hide files that should not be tracked by git and this is working fine with git command line version. However with egit and jgit it looks like the exclude file is not read and I see all the files listed in unstaged changes in staging view. 

I do see this code in WorkingTreeIterator but looks like the control does not hit this place.
>>
File exclude = fs.resolve(repository.getDirectory(), "info/exclude");
loadRulesFromFile(r, exclude);
>>
Can you please checkout this issue

Thanks
Srini
Comment 1 Matthias Sohn CLA 2011-11-27 18:35:57 EST
Fixed the title of this bug to reveal the issue also in the overview list.

Which EGit version are you using ?
Comment 2 srini.mvaram CLA 2011-11-28 01:22:01 EST
(In reply to comment #1)
> Fixed the title of this bug to reveal the issue also in the overview list.
> 
> Which EGit version are you using ?

  Eclipse EGit	1.1.0.201109151100-r	org.eclipse.egit.feature.group	Eclipse EGit

  Eclipse JGit	1.1.0.201109151100-r	org.eclipse.jgit.feature.group	Eclipse JGit
Comment 3 Kevin Sawicki CLA 2012-01-03 18:20:04 EST
Do you still see the issue in EGit 1.2?

If so, what is the name of the file and what is the exclude rule you have for it?
Comment 4 srini.mvaram CLA 2012-01-12 12:51:37 EST
Nope, With 1.2 the exclude rule works fine. thanks
Comment 5 Kevin Sawicki CLA 2012-01-12 12:54:14 EST
Thanks for checking, marking as WORKSFORME