List for cgit developers and users
 help / color / mirror / Atom feed
From: kerrick at kerrickstaley.com (Kerrick Staley)
Subject: Feature request: "plain" diff display mode
Date: Tue, 15 Oct 2013 19:22:57 -0700	[thread overview]
Message-ID: <CANaWP3zo00LWjzD1C2WCLh+U-Ot3cZSt33E5gdwzKi8SiJEw3w@mail.gmail.com> (raw)

It'd be useful if cgit could display plain-text diffs, similar to the
"plain" blob display mode. This would allow you to run e.g.

curl <plain-diff-url> | patch -p1

It looks like [1] implements this feature, but I'm not sure.

- Kerrick

[1]
http://git.zx2c4.com/cgit/commit/?id=445f6ae8e3ef19b6ca70e741e934778bc4a05555
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/cgit/attachments/20131015/dfadc19c/attachment.html>


             reply	other threads:[~2013-10-16  2:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-16  2:22 kerrick [this message]
2013-10-16  6:40 ` normalperson

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=CANaWP3zo00LWjzD1C2WCLh+U-Ot3cZSt33E5gdwzKi8SiJEw3w@mail.gmail.com \
    --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).