Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 354722 - some info/exclude entries not respected
Summary: some info/exclude entries not respected
Status: CLOSED WORKSFORME
Alias: None
Product: EGit
Classification: Technology
Component: Core (show other bugs)
Version: 1.1   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-15 07:18 EDT by R Shapiro CLA
Modified: 2020-04-19 15:28 EDT (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 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.