Re: Re: [COMMITTERS] pgsql: Run pgindent on 9.2 source tree in preparation for first 9.3

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Noah Misch <noah(at)leadboat(dot)com>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Re: [COMMITTERS] pgsql: Run pgindent on 9.2 source tree in preparation for first 9.3
Date: 2012-06-16 02:48:27
Message-ID: 9410.1339814907@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Bruce Momjian <bruce(at)momjian(dot)us> writes:
> OK, based on this feedback, I have updated the pgindent README to use
> these Perl indent instructions:

> find . -name \*.pl -o -name \*.pm | xargs perltidy \
> --backup-and-modify-in-place --opening-brace-on-new-line \
> --vertical-tightness=2 --vertical-tightness-closing=2 \
> --nospace-after-keyword=for --nospace-for-semicolon \
> --add-whitespace --delete-old-whitespace --paren-tightness=2 \
> --keep-old-blank-lines=2 --maximum-line-length=78 \
> --entab-leading-whitespace=4 --output-line-ending=unix

> Unless I hear otherwise, I will run this new command on the 9.2 and HEAD
> Perl files.

No idea what all that stuff does. Would it be reasonable to post a diff
showing what this would do to the files in question?

regards, tom lane

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2012-06-16 02:50:15 pgsql: In pgindent, suppress reading the perltidy RC file using --nopro
Previous Message Bruce Momjian 2012-06-16 02:45:16 Re: [COMMITTERS] pgsql: Run pgindent on 9.2 source tree in preparation for first 9.3

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2012-06-16 03:11:39 Re: splitting htup.h
Previous Message Bruce Momjian 2012-06-16 02:45:16 Re: [COMMITTERS] pgsql: Run pgindent on 9.2 source tree in preparation for first 9.3