Re: Improve pgindent exclude handling: ignore empty lines

Andrew Dunstan <andrew@dunslane.net>

From: Andrew Dunstan <andrew@dunslane.net>
To: Zsolt Parragi <zsolt.parragi@percona.com>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2025-02-20T16:40:53Z
Lists: pgsql-hackers
On 2025-02-18 Tu 3:02 PM, Zsolt Parragi wrote:
> Hello
>
> You are right, when I was writing the commit message I was thinking
> about trim, but the script only uses chomp.
>
> I edited the commit message to correctly describe the new behavior:
> ignoring only the empty line, as that was my main intention with the
> patch.




pushed, thanks.


cheers


andrew

--
Andrew Dunstan
EDB: https://www.enterprisedb.com




Commits

  1. Ignore blank lines in pgindent exclude files