Re: Having postgresql.org link to cgit instead of gitweb

From: "Jonathan S(dot) Katz" <jkatz(at)postgresql(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Peter Geoghegan <pg(at)bowt(dot)ie>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Having postgresql.org link to cgit instead of gitweb
Date: 2025-09-19 16:58:51
Message-ID: d5a8f295-a68f-40d9-80c0-b52313fd650b@postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 9/19/25 12:17 PM, Tom Lane wrote:
> Peter Geoghegan <pg(at)bowt(dot)ie> writes:
>> cgit messes up indentation by showing 8 space tabs (not 4 space tabs)
>> -- that's certainly not ideal.
>
> To me that seems like a complete blocker for this proposal,
> if we can't find a fix.

On a quick read, I believe this is easily settable in the cgit.css file
by setting "tab-size" to "4". I did a quick test hacking this inline,
and it worked.

Further, it appears we already attempt to do this in a "4space.css" file
we serve, but it needs to be edited with the updated cgit HTML/CSS.

Thanks,

Jonathan

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Rafael Thofehrn Castro 2025-09-19 17:03:57 Re: RFC: Logging plan of the running query
Previous Message Nathan Bossart 2025-09-19 16:50:03 Re: PG 18 relnotes and RC1