List for cgit developers and users
 help / color / mirror / Atom feed
From: list at eworm.de (Christian Hesse)
Subject: [PATCH 1/1] about: return images in plain mode
Date: Thu, 17 Apr 2014 15:21:48 +0200	[thread overview]
Message-ID: <20140417152148.461bbf07@leda.localdomain> (raw)
In-Reply-To: <1397740764-32681-1-git-send-email-mail@eworm.de>

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>


  reply	other threads:[~2014-04-17 13:21 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-17 10:13 Images on about page list
2014-04-17 10:18 ` list
2014-04-17 10:19   ` [PATCH 1/1] filters: in markdown get images from their plain url mail
2014-04-17 10:57     ` Jason
2014-04-17 11:02       ` mail
2014-04-17 11:42         ` mail
2014-04-17 11:44           ` Jason
2014-04-17 12:14             ` list
2014-04-17 13:19               ` [PATCH 1/1] about: return images in plain mode mail
2014-04-17 13:21                 ` list [this message]
2014-04-30  8:37                   ` mail
2014-06-29 20:14                   ` list
2014-06-29 21:07                     ` Jason
2014-06-30  6:31                       ` list

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140417152148.461bbf07@leda.localdomain \
    --to=cgit@lists.zx2c4.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).