Skip to content
Snippets Groups Projects
Commit a22cba0e authored by Bruce Momjian's avatar Bruce Momjian
Browse files

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

Backpatch to 9.2.

Per suggestion from Noah Misch
parent 8f466a28
No related branches found
No related tags found
No related merge requests found
......@@ -46,13 +46,8 @@ This can format all PostgreSQL *.c and *.h files, but excludes *.y, and
9) Indent the Perl code:
find . -name \*.pl -o -name \*.pm | xargs perltidy --noprofile \
--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
find . -name \*.pl -o -name \*.pm |
xargs perltidy --profile=src/tools/pgindent/perltidyrc
---------------------------------------------------------------------------
......
--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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment