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

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: pgsql: Fix Perl copyright script to skip .git subdirectory; running it
Дата
Msg-id 20120102004735.GC24093@momjian.us
обсуждение исходный текст
Ответ на Re: pgsql: Fix Perl copyright script to skip .git subdirectory; running it  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-committers
On Sun, Jan 01, 2012 at 07:24:40PM -0500, Bruce Momjian wrote:
> 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?

Thanks, done.

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

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

В списке pgsql-committers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: pgsql: Skip any .git directory for copyright changes, not just top-leve
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: pgsql: Fix Perl copyright script to skip .git subdirectory; running it