Diff options
authorJohan Herland <johan@herland.net>
committerLars Hjemli <hjemli@gmail.com>
commit
parent
tree
download
ui-diff: Add link to ignore/show whitespace changes in diffs
Add a link to the "Diffstat" line to ignore/show whitespace changes in the generated diff. To support this, cgit_commit_link() and cgit_diff_link() has learned to preserve the ctx.qry.ignorews variable. Signed-off-by: Johan Herland <johan@herland.net>
Diffstat (limited to '')
-rw-r--r--ui-shared.c10
1 file changed, 10 insertions, 0 deletions