Re: exclude tmp_check and tmp_install from pgindent - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: exclude tmp_check and tmp_install from pgindent
Date
Msg-id ae5aa8b0-1d97-94a8-08dc-d8cf8a7875cf@2ndQuadrant.com
Whole thread Raw
In response to Re: exclude tmp_check and tmp_install from pgindent  (Michael Paquier <michael@paquier.xyz>)
Responses Re: exclude tmp_check and tmp_install from pgindent  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: exclude tmp_check and tmp_install from pgindent  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers

On 10/08/2018 09:13 AM, Michael Paquier wrote:
> 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.


That's already explicitly excluded.

cheers

andrew

-- 
Andrew Dunstan                https://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: pgsql: Fix event triggers for partitioned tables
Next
From: Tom Lane
Date:
Subject: Re: transction_timestamp() inside of procedures