Greg Stark <gsst...@mit.edu> writes: > What would happen if we ran pgindent immediately after every commit? > So nobody would ever see a checkout that wasn't pgindent-clean?
> The only losers I see would be people working on multi-part patches. ... which we're trying to encourage ... Actually, the case that started this thread is relevant: a forced reindent would be *more* likely to have broken other patches than not doing one. I don't really like removing human judgment from the process. It definitely would help if large sections of new code were properly indented before they got committed (assuming there are not followup patches already prepared). In the case of modifications to existing code, the question is not nearly so black-and-white. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers