[PATCH 1/1] about: allow to give head from query

Christian Hesse list at eworm.de
Mon Jan 10 09:23:53 UTC 2022


Christian Hesse <list at eworm.de> on Mon, 2022/01/10 10:18:
> From: Christian Hesse <mail at eworm.de>
> 
> Reading the README from repository used to be limited to default
> branch or a branch given in configuration. Let's allow a branch
> from query if not specified explicitly.

As an alternative we could introduce a new character here, so cgit can
distinguish between head from query and default branch. Something like:

readme=*README.md
readme=:README.md
readme=main:README.md

Any opinion?
-- 
main(a){char*c=/*    Schoene Gruesse                         */"B?IJj;MEH"
"CX:;",b;for(a/*    Best regards             my address:    */=0;b=c[a++];)
putchar(b-1/(/*    Chris            cc -ox -xc - && ./x    */b/42*2-3)*42);}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.zx2c4.com/pipermail/cgit/attachments/20220110/22e4836a/attachment.sig>


More information about the CGit mailing list