List for cgit developers and users
 help / color / mirror / Atom feed
From: mricon at kernel.org (Konstantin Ryabitsev)
Subject: RFE: Show just diff summary
Date: Mon, 22 Sep 2014 11:40:34 -0400	[thread overview]
Message-ID: <542042F2.2040303@kernel.org> (raw)

Hi, all:

It would be nice to be able to show just the diff summary and not all
the diff details. My goal is to do away with the following:

https://www.kernel.org/diff/diffview.cgi?file=/pub/linux/kernel/v3.x/patch-3.2.63.xz

And replace it with this:

https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/diff/?id=v3.2.63&id2=v3.2

As you may notice, that diff is "hella big" :), so it would be handy if
I could pass a parameter saying "show just the summary" and the summary
would have an option to show the rest of the content similar to how we
have "show entire file" at the top with diffview, in addition to letting
people click on file names.

Is that a sensible request? E.g. the default would remain the same, but
adding &summary=1 would only show the summary. If "summary=1" is in the
query string, add a link "show entire diff" that would simply reload
without summary=1.

Best,
-- 
Konstantin Ryabitsev
Linux Foundation Collab Projects
Montr?al, Qu?bec

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 538 bytes
Desc: OpenPGP digital signature
URL: <http://lists.zx2c4.com/pipermail/cgit/attachments/20140922/b9ef1058/attachment.asc>


             reply	other threads:[~2014-09-22 15:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-22 15:40 mricon [this message]
2014-12-24  2:27 ` Jason
2014-12-24  2:30   ` Jason
2014-12-29 20:09     ` mricon
2014-12-29 22:27       ` [PATCH] ui-diff: don't link to single file diff stat john
2014-12-30  9:09         ` Jason
2014-12-30 14:53           ` mricon

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=542042F2.2040303@kernel.org \
    --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).