]> granicus.if.org Git - cgit/commit
Add URL parameter 'ignorews' for optionally ignoring whitespace in diffs
authorJohan Herland <johan@herland.net>
Thu, 24 Jun 2010 15:52:57 +0000 (17:52 +0200)
committerLars Hjemli <hjemli@gmail.com>
Sun, 18 Jul 2010 08:53:48 +0000 (10:53 +0200)
commit2cc8b99f083014c58d8937bfa4dcd2bc47cd7e58
tree48d555b15c0432bb98712d746100bf6c0fe2be4a
parentd20313e3daf855ee5d4808e050f54614c200d7b1
Add URL parameter 'ignorews' for optionally ignoring whitespace in diffs

The new ctx.qry.ignorews variable is passed via cgit_diff_files() and
cgit_diff_tree() to Git's diff machinery. This is equivalent to passing
--ignore-all-space to 'git diff'.

Signed-off-by: Johan Herland <johan@herland.net>
cgit.c
cgit.h
shared.c
ui-diff.c
ui-log.c
ui-patch.c