From: | Robert Haas <robertmhaas(at)gmail(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Easy way to verify gitignore files? |
Date: | 2010-09-23 01:08:01 |
Message-ID: | AANLkTimp5HTO2fwgR2jSJuOtAFQ5Cuek33EYu+Rvbs=Q@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Wed, Sep 22, 2010 at 8:54 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> It's not hard to tell if we're missing a file that ought to be listed
> in .gitignore --- git status will find that problem soon enough.
> 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. I found out by accident that you will only hear about this
> when you try to "git add" such a file after changing it. This seems
> pretty dangerous, especially for people who are willing to rely on
> "git commit -a" :-(
>
> Is there any automated sanity check that we can run to find this sort
> of problem? I suspect that we probably have got some errors in the
> .gitignore files, particularly in the back branches, and it would be
> nice to find them now before they get in the way of normal development.
I assume one could write a perl script to check this pretty simply...
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise Postgres Company
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2010-09-23 01:14:10 | Re: Easy way to verify gitignore files? |
Previous Message | Robert Haas | 2010-09-23 01:06:51 | Re: Why is time with timezone 12 bytes? |