Re: pgsql: Fix Perl copyright script to skip .git subdirectory; running it - Mailing list pgsql-committers

From Tom Lane
Subject Re: pgsql: Fix Perl copyright script to skip .git subdirectory; running it
Date
Msg-id 8805.1325464906@sss.pgh.pa.us
Whole thread Raw
In response to Re: pgsql: Fix Perl copyright script to skip .git subdirectory; running it  (Bruce Momjian <bruce@momjian.us>)
Responses Re: pgsql: Fix Perl copyright script to skip .git subdirectory; running it  (Bruce Momjian <bruce@momjian.us>)
List pgsql-committers
Bruce Momjian <bruce@momjian.us> writes:
> On Sun, Jan 01, 2012 at 07:05:24PM -0500, Andrew Dunstan wrote:
>> I'd use:
>> if ($_ eq '.git')

> The question was whether we wanted to skip non-top-of-tree .git
> directories.   I wasn't sure we wanted to do that.  Do we?

I'd think it'd be reasonable to do so.  It's not likely that this
script would be run from a point higher than the git root, but if
it were, you'd still need to skip the git index.

            regards, tom lane

pgsql-committers by date:

Previous
From: Bruce Momjian
Date:
Subject: pgsql: Skip 'ico' and 'bin' extensions in copyright changes.
Next
From: Bruce Momjian
Date:
Subject: pgsql: Revert binary change in copyright year adjustment.