Re: Improve pgindent exclude handling: ignore empty lines

2025-02-20 Thread Andrew Dunstan
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

Re: Improve pgindent exclude handling: ignore empty lines

2025-02-18 Thread Zsolt Parragi
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. On Fri, Feb 14, 2025 at 3:24 PM An

Re: Improve pgindent exclude handling: ignore empty lines

2025-02-14 Thread Andrew Dunstan
On 2025-02-08 Sa 4:39 AM, Zsolt Parragi wrote: Hello, We ran into an issue where pgindent stopped reformatting anything with our custom exclude file, and after some investigation we found the empty line accidentally inserted into the exclude file. Pgindent currently treats empty lines as vali