From mboxrd@z Thu Jan 1 00:00:00 1970 From: mricon at kernel.org (Konstantin Ryabitsev) Date: Mon, 06 Oct 2014 09:25:16 -0400 Subject: [PATCH 0/4] Add "stat only" diff mode In-Reply-To: <20141006061046.6337.1007@typhoon.lan> References: <20141006061046.6337.1007@typhoon.lan> Message-ID: <5432983C.5020402@kernel.org> 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