Re: exclude tmp_check and tmp_install from pgindent

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Andrew Dunstan <andrew(dot)dunstan(at)2ndquadrant(dot)com>
Cc: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: exclude tmp_check and tmp_install from pgindent
Date: 2018-10-08 13:13:33
Message-ID: 20181008131333.GA23532@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2018-10-08 13:37:49 Re: exclude tmp_check and tmp_install from pgindent
Previous Message Alvaro Herrera 2018-10-08 12:54:25 Re: pgsql: Fix event triggers for partitioned tables