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

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(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:47:57
Message-ID: 20120102004757.GD24093@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

On Sun, Jan 01, 2012 at 07:41:46PM -0500, Tom Lane wrote:
> 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.

Thanks, done.

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

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2012-01-02 03:27:46 pgsql: Update copyright git skip comment.
Previous Message Bruce Momjian 2012-01-02 00:47:35 Re: pgsql: Fix Perl copyright script to skip .git subdirectory; running it