Re: Duplicat-word typos in code comments - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Duplicat-word typos in code comments
Date
Msg-id 3978708.1633355813@sss.pgh.pa.us
Whole thread Raw
In response to Re: Duplicat-word typos in code comments  (Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>)
Responses Re: Duplicat-word typos in code comments
List pgsql-hackers
=?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



pgsql-hackers by date:

Previous
From: Dagfinn Ilmari Mannsåker
Date:
Subject: Re: Duplicat-word typos in code comments
Next
From: Erik Rijkers
Date:
Subject: Re: Triage on old commitfest entries - JSON_PATH