[PATCH 1/1] about: return images in plain mode
Christian Hesse
list at eworm.de
Thu Apr 17 15:21:48 CEST 2014
Christian Hesse <mail at eworm.de> on Thu, 2014/04/17 15:19:
> ---
> cgit.h | 2 ++
> cmd.c | 52 ++++++++++++++++++++++++++++++++++++++++++++++++----
> shared.c | 41 +++++++++++++++++++++++++++++++++++++++++
> ui-plain.c | 40 ----------------------------------------
> 4 files changed, 91 insertions(+), 44 deletions(-)
This is a bit quick and dirty, but it works. Are you fine with something like
this if we polish it a bit?
BTW, this solution fixes images for static html as well, so definitely the
way to go I think.
--
main(a){char*c=/* Schoene Gruesse */"B?IJj;MEH"
"CX:;",b;for(a/* Chris get my mail address: */=0;b=c[a++];)
putchar(b-1/(/* gcc -o sig sig.c && ./sig */b/42*2-3)*42);}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://lists.zx2c4.com/pipermail/cgit/attachments/20140417/bd90b46d/attachment.asc>
More information about the CGit
mailing list