[PATCH] Florent Vial: added a hide-diff-in-commit-tab parameter to the cgitrc config file to make displaying of the diff optional in the commit tab.

Lars Hjemli hjemli at gmail.com
Wed Sep 14 08:12:17 CEST 2011

On Fri, Sep 9, 2011 at 13:54, Vial, Florent <florent.vial at intel.com> wrote:
> Please find the patch to make display of the diff optional in the commit tab.

The reason you needed this new parameter was to avoid annoying cgit
users when a commit has a very large diff, right?

If so, I think a better solution is to introduce e.g.
"max-commit-diff-lines" and stop generating the diff when this limit
has been reached (and add a "more" link to allow interested users to
view the full diff).


More information about the CGit mailing list