From: Tom Lane <tgl@sss.pgh.pa.us>
To: Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Cc: Daniel Gustafsson <daniel@yesql.se>
Cc: pgsql-hackers@lists.postgresql.org
Subject: Re: Duplicat-word typos in code comments
Date: Mon, 04 Oct 2021 09:56:53 -0400
Message-ID: <3978708.1633355813@sss.pgh.pa.us> (raw)
In-Reply-To: <878rz8udbm.fsf@wibble.ilmari.org>
References: <87bl45t0co.fsf@wibble.ilmari.org>
<73E4E56B-D996-4701-97ED-A66ED98B2873@yesql.se>
<878rz8udbm.fsf@wibble.ilmari.org>
=?utf-8?Q?Dagfinn_Ilmari_Manns=C3=A5ker?= <ilmari@ilmari.org> writes:
> Daniel Gustafsson <daniel@yesql.se> writes:
>> I avoided the reflow of the comments though to make it the minimal
>> change.
> Fair enough. I wasn't sure myself whether to do it or not.
The next pgindent run will do it anyway (except in comment blocks
starting in column 1).
I used to think it was better to go ahead and manually reflow, if you
use an editor that makes that easy. That way there are fewer commits
touching any one line of code, which is good when trying to review
code history. However, now that we've got the ability to make "git
blame" ignore pgindent commits, maybe it's better to leave that sort
of mechanical cleanup to pgindent, so that the substantive patch is
easier to review.
(But I'm not sure how well the ignore-these-commits behavior actually
works for cases like this.)
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-hackers@postgresql.org
Cc: tgl@sss.pgh.pa.us, ilmari@ilmari.org, daniel@yesql.se
Subject: Re: Duplicat-word typos in code comments
In-Reply-To: <3978708.1633355813@sss.pgh.pa.us>
References: <87bl45t0co.fsf@wibble.ilmari.org> <73E4E56B-D996-4701-97ED-A66ED98B2873@yesql.se> <878rz8udbm.fsf@wibble.ilmari.org> <3978708.1633355813@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox