From: Johan Herland Date: Thu, 10 Jun 2010 18:15:51 +0000 (+0200) Subject: ui-diff: Add links to increase/decrease number of context lines in diffs X-Git-Url: https://gitweb.ps.run/ps-cgit/commitdiff_plain/d20313e3daf855ee5d4808e050f54614c200d7b1?ds=inline;hp=d20313e3daf855ee5d4808e050f54614c200d7b1 ui-diff: Add links to increase/decrease number of context lines in diffs Add two links to the "Diffstat" line to show more/less context lines in the generated diff. To support this, cgit_commit_link() and cgit_diff_link() has learned to preserve the ctx.qry.context variable. Signed-off-by: Johan Herland Signed-off-by: Lars Hjemli ---