]> gitweb.ps.run Git - ps-cgit/commit
ui-diff: Add link to ignore/show whitespace changes in diffs
authorJohan Herland <johan@herland.net>
Thu, 24 Jun 2010 15:53:20 +0000 (17:53 +0200)
committerLars Hjemli <hjemli@gmail.com>
Sun, 18 Jul 2010 08:54:02 +0000 (10:54 +0200)
commit72ef913514288bd2aae23509581097bfd3edf8c4
tree3a8b48aa0ebcc74a7e8b7f05f964432c6d577921
parent2cc8b99f083014c58d8937bfa4dcd2bc47cd7e58
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>
ui-diff.c
ui-shared.c