On Tue, 19 Dec 2023 at 17:54, Tristan Partin <tris...@neon.tech> wrote: > I was envisioning something along the lines of: > > pgindent --check --diff > patches.txt > status=$? > patch <patches.txt # no idea if this works, or if you need a for loop > with manual parsing > exit $status
Okay, I got a working version. And I updated the pre-commit hook on the wiki accordingly.