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

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Bruce Momjian <bruce(at)momjian(dot)us>
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:05:24
Message-ID: 4F00F4C4.2000200@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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')

cheers

andrew

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2012-01-02 00:24:40 Re: pgsql: Fix Perl copyright script to skip .git subdirectory; running it
Previous Message Tom Lane 2012-01-01 23:42:27 Re: pgsql: Update copyright notices for year 2012.