Re: postgresql.conf.sample tab width

Поиск
Список
Период
Сортировка
От Nathan Bossart
Тема Re: postgresql.conf.sample tab width
Дата
Msg-id aRefX8JOs_3VbErE@nathan
обсуждение исходный текст
Ответ на Re: postgresql.conf.sample tab width  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: postgresql.conf.sample tab width
Список pgsql-hackers
On Fri, Nov 14, 2025 at 03:25:15PM -0500, Tom Lane wrote:
> I seem to recall a proposal that the best fix is to not use tabs
> at all in postgresql.conf.sample.  That seems like a good way out
> to me.  I think we could fix .gitattributes so that "git diff --check"
> would verify no tabs, but I've not looked into details.

I don't see a way in .gitattributes to check for _any_ tabs in a file, just
for beginning-of-line indentation with tabs.  But it's easy enough to add a
check in the TAP test.

-- 
nathan

Вложения

В списке pgsql-hackers по дате отправления: