Commit 47463a80 authored by Bruce Momjian's avatar Bruce Momjian

Remove 'for' loop perltidy argument, and move args to perltidyrc file.

Backpatch to 9.2.

Per suggestion from Noah Misch
parent 0acd9782
...@@ -46,13 +46,8 @@ This can format all PostgreSQL *.c and *.h files, but excludes *.y, and ...@@ -46,13 +46,8 @@ This can format all PostgreSQL *.c and *.h files, but excludes *.y, and
9) Indent the Perl code: 9) Indent the Perl code:
find . -name \*.pl -o -name \*.pm | xargs perltidy --noprofile \ find . -name \*.pl -o -name \*.pm |
--backup-and-modify-in-place --opening-brace-on-new-line \ xargs perltidy --profile=src/tools/pgindent/perltidyrc
--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
--------------------------------------------------------------------------- ---------------------------------------------------------------------------
......
--add-whitespace
--backup-and-modify-in-place
--delete-old-whitespace
--entab-leading-whitespace=4
--keep-old-blank-lines=2
--maximum-line-length=78
--nospace-for-semicolon
--opening-brace-on-new-line
--output-line-ending=unix
--paren-tightness=2
--vertical-tightness=2
--vertical-tightness-closing=2
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment