Skip site navigation (1) Skip section navigation (2)

Re: pgsql: Fix Perl copyright script to skip .git subdirectory; running it

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Fix Perl copyright script to skip .git subdirectory; running it
Date: 2012-01-02 00:41:46
Message-ID: 8805.1325464906@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-committers
Bruce Momjian <bruce(at)momjian(dot)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

In response to

Responses

pgsql-committers by date

Next:From: Bruce MomjianDate: 2012-01-02 00:42:38
Subject: pgsql: Revert binary change in copyright year adjustment.
Previous:From: Bruce MomjianDate: 2012-01-02 00:36:20
Subject: pgsql: Skip 'ico' and 'bin' extensions in copyright changes.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group