more fancy ignoring of files ('if' in .gitignore?)
- From
- Sebastian Schubert <schubert.seb@googlemail.com>
- Date
- Oct 27, 2009, 09:30 UTC
- Message-ID
- <200910271030.54571.schubert.seb@googlemail.com>
Hi,
I would like to ignore files if certain other files are present. In my special case, I want to ignore foo.pdf and foo.eps if foo.fig is present (both pdf and eps are generated on the fly but don't belong into repository). In general, I do NOT want to ignore pdf or eps. There are a lot of foos so I would like to have a general solution.
Is this possible?
Cheers Sebastian
PS: Please CC my personal email address.