Re: Duplicat-word typos in code comments

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Duplicat-word typos in code comments
Дата
Msg-id 3978708.1633355813@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Duplicat-word typos in code comments  (Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>)
Ответы Re: Duplicat-word typos in code comments  (Daniel Gustafsson <daniel@yesql.se>)
Список 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 по дате отправления:

Предыдущее
От: Dagfinn Ilmari Mannsåker
Дата:
Сообщение: Re: Duplicat-word typos in code comments
Следующее
От: Erik Rijkers
Дата:
Сообщение: Re: Triage on old commitfest entries - JSON_PATH