Re: Improve pgindent exclude handling: ignore empty lines

2025-02-18 Thread Zsolt Parragi
Andrew Dunstan wrote: > > > 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 acci

Improve pgindent exclude handling: ignore empty lines

2025-02-08 Thread Zsolt Parragi
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 valid exclusions and creates an empty regex from them.