Re: Add --check option to pgindent

Поиск
Список
Период
Сортировка
От Jelte Fennema-Nio
Тема Re: Add --check option to pgindent
Дата
Msg-id CAGECzQSC3baD4Fzc1Q7bGkkrj2fcGLAKcoo8+qch=WvJFActyw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Add --check option to pgindent  ("Tristan Partin" <tristan@neon.tech>)
Список pgsql-hackers
On Tue, 19 Dec 2023 at 17:54, Tristan Partin <tristan@neon.tech> wrote:
> I was envisioning something along the lines of:
>
>         pgindent --check --diff > patches.txt
>         status=$?
>         patch <patches.txt # no idea if this works, or if you need a for loop with manual parsing
>         exit $status

Okay, I got a working version. And I updated the pre-commit hook on
the wiki accordingly.



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

Предыдущее
От: Christoph Berg
Дата:
Сообщение: int4->bool test coverage
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: partitioning and identity column