Diff options
authorJohan Herland <johan@herland.net>
committerLars Hjemli <hjemli@gmail.com>
commit
parent
tree
download
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 <johan@herland.net> Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'cgit.h')
-rw-r--r--cgit.h3
1 file changed, 2 insertions, 1 deletion