From: Sebastian Schubert <schubert.seb@googlemail.com>
To: git@vger.kernel.org
Subject: more fancy ignoring of files ('if' in .gitignore?)
Date: Tue, 27 Oct 2009 10:30:50 +0100 [thread overview]
Message-ID: <200910271030.54571.schubert.seb@googlemail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 440 bytes --]
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.
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
next reply other threads:[~2009-10-27 9:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-27 9:30 Sebastian Schubert [this message]
2009-10-27 9:56 ` more fancy ignoring of files ('if' in .gitignore?) Michael J Gruber
2009-10-27 10:00 ` Paolo Bonzini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200910271030.54571.schubert.seb@googlemail.com \
--to=schubert.seb@googlemail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.