From: Thomas Wichern <nordertom@gmx.de>
To: git-mailing <git@vger.kernel.org>
Subject: git 1.7.10.msysgit.1: different behaviour in ".gitignore" and ".git/info/exclude"
Date: Wed, 30 May 2012 10:43:56 +0200 [thread overview]
Message-ID: <96434119.20120530104356@gmx.de> (raw)
Hi,
I noticed the following difference when using the pattern "/(*)/"
(ignore all directories where the name is enclosed in parenthesis)
If you have a ".gitignore" - file that contains the pattern "/(*)/", a
directory that matches the pattern is ignored completely.
If you put the same pattern into the ".git/info/exclude" - file, the
pattern does not work - these directories still show up.
I expected that all directories anywhere the repository that match the
pattern to be ignored.
Am I doing something wrong? Is the pattern not correct?
Horrido,
Thomas
---
git version 1.7.10.msysgit.1
Windows 7 Pro
next reply other threads:[~2012-05-30 8:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-30 8:43 Thomas Wichern [this message]
2012-05-30 10:28 ` git 1.7.10.msysgit.1: different behaviour in ".gitignore" and ".git/info/exclude" Johannes Sixt
2012-05-30 10:52 ` Thomas Wichern
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=96434119.20120530104356@gmx.de \
--to=nordertom@gmx.de \
--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.