[PATCH 0/4] Add "stat only" diff mode
Konstantin Ryabitsev
mricon at kernel.org
Mon Oct 6 15:25:16 CEST 2014
On 06/10/14 02:10 AM, Lukas Fleischer wrote:
> On Mon, 06 Oct 2014 at 05:01:41, Jason A. Donenfeld wrote:
>> Curious to know the motivation behind this patchset. Why would you want
>> stat-only?
>> [...]
>
> To avoid loading the whole diff when you're only interested in changes
> to a single file [1].
>
> [1] http://lists.zx2c4.com/pipermail/cgit/2014-September/002235.html
\o/
Yes, to use a more relevant example, we get quite a bit of traffic to
the following page:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/diff/?id=v3.17&id2=v3.16
(warning, trying to load it may kill your browser)
However, people are only interested in seeing diffs to specific drivers
or submodules, not the whole thing. Generating the whole diff 3.17-3.16
is pretty much useless to anyone not certifiably insane, and it eats up
a ton of traffic for no purpose. Having the ability to only display
diffstat would be extremely handy.
Best,
--
Konstantin Ryabitsev
Linux Foundation Collab Projects
Montréal, Québec
More information about the CGit
mailing list