From: Johan Herland Date: Thu, 10 Jun 2010 18:15:27 +0000 (+0200) Subject: Add URL parameter 'context' for changing the number of context lines in diffs X-Git-Url: https://gitweb.ps.run/ps-cgit/commitdiff_plain/6180e6169d6e87a3bea7e4da835dca17f93e5cfd?hp=6180e6169d6e87a3bea7e4da835dca17f93e5cfd Add URL parameter 'context' for changing the number of context lines in diffs The new ctx.qry.context variable is picked up by cgit_print_diff(), and passed via cgit_diff_files() to Git's diff machinery. Signed-off-by: Johan Herland Signed-off-by: Lars Hjemli ---