Abhijit Menon-Sen <a...@toroid.org> writes:
> At 2010-09-22 20:54:19 -0400, t...@sss.pgh.pa.us wrote:
>> However, it seems that git isn't so willing to tell you about gitignore
>> patterns that cover too much, i.e. match files that are already in the
>> repository.

> If .gitignore specifies a pattern that matches something that's already
> in the repository, that specification is itself ignored, and the file is
> treated like any other file.

I can demonstrate that this is not so.  Try a "git add" on such a file.
It fails --- at least it does with the version of git currently in
Fedora 13.  You get some nasty warning about how there's a conflicting
.gitignore pattern and you have to use -f if you want to add.

                        regards, tom lane

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to