From mboxrd@z Thu Jan 1 00:00:00 1970 From: luc.chante at gmail.com (Luc Chante) Date: Thu, 08 Sep 2016 07:11:38 +0000 Subject: Truncate "commit" page In-Reply-To: <20160907125812.GD8854@john.keeping.me.uk> References: <20160907125812.GD8854@john.keeping.me.uk> Message-ID: Hi, It's not exactly what I'm looking for, but I will try this. Thank you. Le mer. 7 sept. 2016 ? 14:58, John Keeping a ?crit : > On Wed, Sep 07, 2016 at 11:44:30AM +0000, Luc Chante wrote: > > I wonder if there is a way to truncate the content of the "commit" page ? > > > > I have heavy commits (like adding dependencies when using npm modules). > > Beside the fact that the log is quite unusable, the rendered page can be > > massive and very long to receive and/or to display. > > I think you should be able to add "dt=2" to the query parameters in the > URL to enable the "stat only" diff mode, but it looks like we don't have > a way to enable that by default via the config. > > The feature was originally added to support links to diffs between Linux > kernel versions (e.g. for the patch from v4.4.18 to v4.4.19) and it > hasn't been extended at all beyond that, but the commit page calls the > same code to generate the diff so the query parameter should work there > as well. > -------------- next part -------------- An HTML attachment was scrubbed... URL: