Re: Having postgresql.org link to cgit instead of gitweb - Mailing list pgsql-hackers

From Jonathan S. Katz
Subject Re: Having postgresql.org link to cgit instead of gitweb
Date
Msg-id d5a8f295-a68f-40d9-80c0-b52313fd650b@postgresql.org
Whole thread Raw
In response to Re: Having postgresql.org link to cgit instead of gitweb  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Having postgresql.org link to cgit instead of gitweb
List pgsql-hackers
On 9/19/25 12:17 PM, Tom Lane wrote:
> Peter Geoghegan <pg@bowt.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

Attachment

pgsql-hackers by date:

Previous
From: Nathan Bossart
Date:
Subject: Re: PG 18 relnotes and RC1
Next
From: Rafael Thofehrn Castro
Date:
Subject: Re: RFC: Logging plan of the running query