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

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

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Fix Perl copyright script to skip .git subdirectory; running it
Date: 2012-01-02 00:24:40
Message-ID: 20120102002440.GA24093@momjian.us (view raw or flat)
Thread:
Lists: pgsql-committers
On Sun, Jan 01, 2012 at 07:05:24PM -0500, Andrew Dunstan wrote:
> 
> 
> On 01/01/2012 05:59 PM, Bruce Momjian wrote:
> >Fix Perl copyright script to skip .git subdirectory;  running it on
> >those files corrupts the index.
> 
> 
> This patch looks a bit dubious. Instead of:
> 
>    if ($File::Find::name =~ m{^\./\.git$})
> 
> 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?

-- 
  Bruce Momjian  <bruce(at)momjian(dot)us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +

In response to

Responses

pgsql-committers by date

Next:From: Bruce MomjianDate: 2012-01-02 00:36:20
Subject: pgsql: Skip 'ico' and 'bin' extensions in copyright changes.
Previous:From: Andrew DunstanDate: 2012-01-02 00:05:24
Subject: Re: pgsql: Fix Perl copyright script to skip .git subdirectory; running it

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