pgsql: Improve exclude pattern file processing in pgindent

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема pgsql: Improve exclude pattern file processing in pgindent
Дата
Msg-id E1pKQYo-005IWo-NG@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Improve exclude pattern file processing in pgindent

This makes two small changes that will improve pgindent's usefulness in
a git hook. First, it looks for the exclude file relative to the current
directory. And second, it applies the filters to filenames given on the
command line as well as those found in a directory sweep.

It might prove necessary to make further efforts to find the exclude
file, and even to allow multiple exclude files, but for now this should
be enough for most purposes.

Reviewed by Jelte Fennema

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1249371632db9d97786edfb3d58c3e89e75b9519

Modified Files
--------------
src/tools/pgindent/pgindent | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)


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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: pgsql: instr_time: Represent time as an int64 on all platforms
Следующее
От: Peter Geoghegan
Дата:
Сообщение: pgsql: Update more obsolete multixact.c comments.