While looking into #4690 (closed), I poked at the cgit lister a bit until it worked on one Gitweb instance.
TODO:
Ref. #1800 (moved) #4690 (closed)