.git/info/exclude ? [message #715199] |
Fri, 12 August 2011 17:22 |
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.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03340 seconds