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

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 (view raw or flat)
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

pgsql-committers by date

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

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