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

Bug 354722

Summary: some info/exclude entries not respected
Product: [Technology] EGit Reporter: R Shapiro <rshapiro>
Component: CoreAssignee: Project Inbox <egit.core-inbox>
Status: CLOSED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: p.bodnar, twolf
Version: 1.1   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description R Shapiro CLA 2011-08-15 07:18:42 EDT
Consider the following entries in .git/info/exclude

/xyzzy/bootclasses
/xyzzy/testclasses
/xyzzy/classes

/xyzzy/lib/xyzzy.jar
/xyzzy/lib/xyzzytest.jar
/xyzzy/lib/bootstrap.jar

These entries correspond to artifacts created by building a java project.  The first three are directories of .class files, the second three are jar files.

Command-line git 1.7.6 confirms that these entries are correct: after a build, none are listed by 'git status'.

Expected post-build egit behavior: The class directories and jar files will not be listed in  egit's "Git Staging View" or Commit dialog.

Actual post-build egit behavior:  The jar files are listed by egit as 'new'.  The directories are correctly ignored.

egit version: 1.1.0.201108132119
jgit: version: 1.1.0.201108132117
Comment 1 Petr Bodnar CLA 2020-04-19 13:49:59 EDT
Isn't this already fixed? I cannot reproduce it with egit / jgit version 5.0.0 from 2018.
Comment 2 Thomas Wolf CLA 2020-04-19 15:28:54 EDT
I think so.