[prev in list] [next in list] [prev in thread] [next in thread] 

List:       git
Subject:    git 1.7.10.msysgit.1: different behaviour in ".gitignore" and ".git/info/exclude"
From:       Thomas Wichern <nordertom () gmx ! de>
Date:       2012-05-30 8:43:56
Message-ID: 96434119.20120530104356 () gmx ! de
[Download RAW message or body]

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

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic