Re: Easy way to verify gitignore files?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Easy way to verify gitignore files?
Date: 2010-09-23 01:14:10
Message-ID: 20031.1285204450@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Robert Haas <robertmhaas(at)gmail(dot)com> writes:
> On Wed, Sep 22, 2010 at 8:54 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> 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...

No doubt, but I was hoping somebody already had. In particular, it'd
be best if one could use git's own logic for matching .gitignores,
rather than reimplementing it in a way that might or might not behave
quite the same.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Abhijit Menon-Sen 2010-09-23 01:28:33 Re: Easy way to verify gitignore files?
Previous Message Robert Haas 2010-09-23 01:08:01 Re: Easy way to verify gitignore files?