On Wed, Aug 31, 2011 at 01:57:48AM -0700, Vial, Florent wrote: > Hi, > > I am a new user of cgit. I've read the FAQ, the README and the cgirc.5.pdf > but still do not find what i am looking for. > Here is the default behaviour i am observing: > The "commit" tab in the web interface shows not only a diffstat box, but also > the the diff between the commit and the previous versions. > The same is applying for the "diff" tab of the web interface: diffstat box, > and diff. > What i would like to have is following behaviour: > The "commit" tab should only show the diffstat box. > The "diff" tab should then show the diff between the two versions. > > Can you tell me if and how it is possible to do that?
Of course it is. This is open-source. You'll probably need to patch, though. cgit_print_commit() in "ui-commit.c" is the place to look for. Maybe removing cgit_print_diff() at the bottom of the function is enough. Didn't test. _______________________________________________ cgit mailing list [email protected] http://hjemli.net/mailman/listinfo/cgit
