Re: Add --check option to pgindent - Mailing list pgsql-hackers

From Jelte Fennema-Nio
Subject Re: Add --check option to pgindent
Date
Msg-id CAGECzQQcUA6AmoFhxMSewrMLgbmw1zRw3eKZzHNAKwjT+tGB_A@mail.gmail.com
Whole thread Raw
In response to Re: Add --check option to pgindent  (Jelte Fennema-Nio <postgres@jeltef.nl>)
List pgsql-hackers
On Mon, 18 Dec 2023 at 17:14, Jelte Fennema-Nio <postgres@jeltef.nl> wrote:
> One thing I'm wondering: When both --check and --diff are passed,
> should pgindent still early exit with 2 on the first incorrectly
> formatted file? Or should it show diffs for all failing files? I'm
> leaning towards the latter making more sense.

To be clear, in the latter case it would still exit with 2 at the end
of the script, but only after showing diffs for all files.



pgsql-hackers by date:

Previous
From: Jelte Fennema-Nio
Date:
Subject: Re: Add --check option to pgindent
Next
From: Jelte Fennema-Nio
Date:
Subject: Re: psql JSON output format