Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 363955 - staging view does not respect info/exclude
Summary: staging view does not respect info/exclude
Status: RESOLVED WORKSFORME
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: Other Linux
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-16 13:57 EST by srini.mvaram CLA
Modified: 2012-01-12 12:54 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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