Add --check option to pgindent
Tristan Partin <tristan@neon.tech>
From: "Tristan Partin" <tristan@neon.tech>
To: <pgsql-hackers@postgresql.org>
Date: 2023-12-12T00:09:21Z
Lists: pgsql-hackers
Attachments
- v1-0001-Add-check-option-to-pgindent.patch (text/x-patch) patch v1-0001
Not sold on the name, but --check is a combination of --silent-diff and --show-diff. I envision --check mostly being used in CI environments. I recently came across a situation where this behavior would have been useful. Without --check, you're left to capture the output of --show-diff and exit 2 if the output isn't empty by yourself. -- Tristan Partin Neon (https://neon.tech)
Commits
-
Rename pgindent options
- 387aecc948ed 17.0 landed