From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Further improve pgindent's list of file exclusions.
Date: Thu, 17 Sep 2020 18:16:23 +0000
Message-ID: <E1kIySF-0006xD-Ho@gemulon.postgresql.org> (raw)
Further improve pgindent's list of file exclusions.
I despair of people keeping the README file's notes in sync with
the actual exclusion list, so move the notes into the exclusion file.
Adjust the pgindent script to explicitly ignore comments in the file,
just in case (though it's hard to believe any would match filenames).
Extend the list so that it doesn't process any files we'd not wish it to
even in a fully-built-out development directory. (There are still a
couple of derived files that it wants to reformat, but fixing the
generator scripts for those seems like fit material for a separate patch.)
Discussion: https://postgr.es/m/79ed5348-be7a-b647-dd40-742207186a22@2ndquadrant.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/74d4608f506ba423e4c84609c1c0e03e1e92cb91
Modified Files
--------------
src/tools/pgindent/README | 30 +++--------------------
src/tools/pgindent/exclude_file_patterns | 42 ++++++++++++++++++++++++++------
src/tools/pgindent/pgindent | 1 +
3 files changed, 39 insertions(+), 34 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: tgl@sss.pgh.pa.us
Subject: Re: pgsql: Further improve pgindent's list of file exclusions.
In-Reply-To: <E1kIySF-0006xD-Ho@gemulon.postgresql.org>
References: <E1kIySF-0006xD-Ho@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox