Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit » .git/info/exclude ?(egit does not always respect .git/info/exclude ?)
.git/info/exclude ? [message #715199] Fri, 12 August 2011 17:22 Go to next message
R Shapiro is currently offline R Shapiro
Messages: 386
Registered: June 2011
Senior Member
I have a java project that produces build artifacts that are not supposed to under version control. Some examples are .class files, typically in directories called '*classes', and certain .jar files, typically in directories called 'lib'. These are specified in info/exclude rather than .gitignore mostly because my git repository is a bridge to an SVN repository. The entries were generated by Git itself, via 'git svn show-ignore' -- I did not do them manually.

All the ignore specs work fine in command-line git: after a build, 'git status' says "nothing to commit (working directory clean)"

In egit, some work and some don't. After a build, the ones that don't work cause spurious entries in the Git Staging view, the Commit gui etc.

Example entries in info/exclude:


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

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

The first three work correctly in egit, the second three do not.



Re: .git/info/exclude ? [message #715698 is a reply to message #715199] Mon, 15 August 2011 08:57 Go to previous messageGo to next message
Matthias Sohn is currently offline Matthias Sohn
Messages: 588
Registered: July 2009
Senior Member
Please file a bug for this problem
Re: .git/info/exclude ? [message #715743 is a reply to message #715698] Mon, 15 August 2011 11:20 Go to previous message
R Shapiro is currently offline R Shapiro
Messages: 386
Registered: June 2011
Senior Member
Entered as

https://bugs.eclipse.org/bugs/show_bug.cgi?id=354722

Previous Topic:Newbie Question: How Do I Create a New Remote Branch
Next Topic:How to discard file modification
Goto Forum:
  


Current Time: Fri Oct 24 16:08:39 GMT 2014

Powered by FUDForum. Page generated in 0.02017 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software