Re: exclude tmp_check and tmp_install from pgindent

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: exclude tmp_check and tmp_install from pgindent
Дата
Msg-id 26234.1539005869@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: exclude tmp_check and tmp_install from pgindent  (Andrew Dunstan <andrew.dunstan@2ndquadrant.com>)
Список pgsql-hackers
Andrew Dunstan <andrew.dunstan@2ndquadrant.com> writes:
> On 10/08/2018 05:49 AM, Peter Eisentraut wrote:
>> pgindent spends a long time digging through tmp_check and tmp_install
>> directories and ends up re-indenting installed header files.  How about
>> excluding those directories, like below or directly in the script?

> I wonder if a more general solution might be a good idea. Say like 
> ignoring everything pointed to by
>      git status --porcelain --ignored

Peter's idea sounds better to me.  We don't have that many derived .c
or .h files, so I doubt the "git status" calls would pay for themselves.

(Personally, I don't run pgindent in non-cleaned trees ...)

            regards, tom lane


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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: out-of-order XID insertion in KnownAssignedXids
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: pgsql: Fix event triggers for partitioned tables