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