pgsql: Allow and require passing files on command line of pgperltidy

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема pgsql: Allow and require passing files on command line of pgperltidy
Дата
Msg-id E1qByus-002uZl-RE@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Allow and require passing files on command line of pgperltidy

pgperltidy as well as pgperlcritic and pgperlsyncheck now allow
passing files and directories on the command line, like pgindent does.
(Previously, they would always operate on the whole tree.)

Also, for consistency with pgindent's new behavior (as of b16259b3c1),
passing an argument is now required.  To get the previous default
behavior, use "pgperltidy ." for example.

Discussion: https://www.postgresql.org/message-id/flat/45aacd8a-5265-d9da-8df2-b8e2c0cf6a07%40eisentraut.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3d9fd1a8743abfe460137f45e8523e710c7cc589

Modified Files
--------------
src/tools/perlcheck/find_perl_files | 8 ++++++--
src/tools/perlcheck/pgperlcritic    | 2 +-
src/tools/perlcheck/pgperlsyncheck  | 2 +-
src/tools/pgindent/README           | 2 +-
src/tools/pgindent/pgperltidy       | 2 +-
5 files changed, 10 insertions(+), 6 deletions(-)


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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: pgsql: Disable use of archiving in 009_twophase.pl
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Avoid Assert failure when processing empty statement in aborted