List for cgit developers and users
 help / color / mirror / Atom feed
* patch to show only diffstat in the commit tab
@ 2011-09-08 14:39 florent.vial
  2011-09-08 14:47 ` cgit
  0 siblings, 1 reply; 2+ messages in thread
From: florent.vial @ 2011-09-08 14:39 UTC (permalink / raw)


Hi,

Please find attached a patch that modifies cgit behaviour like following:
The commit tab now only shows the diffstat + diffstat summary, not the full diff anymore. The reason for that is that we have huge tree differences between 2 commits and do not want to overload the web server, only have a summary of the files that were changed in the commit. Only when one clicks on the diff tab, the full diff is displayed.

There were also a lot of refactoring in the cgit_print_*** functions in ui-diff as it was very monolithic.

Cheers,
Florent Vial


^ permalink raw reply	[flat|nested] 2+ messages in thread

* patch to show only diffstat in the commit tab
  2011-09-08 14:39 patch to show only diffstat in the commit tab florent.vial
@ 2011-09-08 14:47 ` cgit
  0 siblings, 0 replies; 2+ messages in thread
From: cgit @ 2011-09-08 14:47 UTC (permalink / raw)


On Thu, Sep 08, 2011 at 07:39:56AM -0700, Vial, Florent wrote:
> Hi,
> 
> Please find attached a patch that modifies cgit behaviour like following:
> The commit tab now only shows the diffstat + diffstat summary, not the full diff anymore. The reason for that is that we have huge tree differences between 2 commits and do not want to overload the web server, only have a summary of the files that were changed in the commit. Only when one clicks on the diff tab, the full diff is displayed.
> 
> There were also a lot of refactoring in the cgit_print_*** functions in ui-diff as it was very monolithic.

The mailing list strips attachments. Please send patches inline (check
git-send-email(1)). Thanks!




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-09-08 14:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-08 14:39 patch to show only diffstat in the commit tab florent.vial
2011-09-08 14:47 ` cgit

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).