Re: exclude tmp_check and tmp_install from pgindent

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: exclude tmp_check and tmp_install from pgindent
Дата
Msg-id 20181008131333.GA23532@paquier.xyz
обсуждение исходный текст
Ответ на Re: exclude tmp_check and tmp_install from pgindent  (Andrew Dunstan <andrew.dunstan@2ndquadrant.com>)
Ответы Re: exclude tmp_check and tmp_install from pgindent
Список pgsql-hackers
On Mon, Oct 08, 2018 at 08:33:38AM -0400, Andrew Dunstan wrote:
> Seems reasonable - I tend to do vpath builds so this hasn't been a problem
> for me ;-)

+1.

> I wonder if a more general solution might be a good idea. Say like ignoring
> everything pointed to by
>
>     git status --porcelain --ignored
>
> with a status of '??' (untracked) or '!!' (ignored).

I had exactly the same thought, but with "git ls-files".  There are
still some files which should not be indented, like ppport.h which is
generated automatically still part of the tree.
--
Michael

Вложения

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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: pg_dumpall --exclude-database option
Следующее
От: Andres Freund
Дата:
Сообщение: Re: out-of-order XID insertion in KnownAssignedXids