]> gitweb.ps.run Git - ps-cgit/commit
new_filter: determine extra_args from filter type
authorFerry Huberts <ferry.huberts@pelagic.nl>
Wed, 23 Mar 2011 10:57:41 +0000 (11:57 +0100)
committerLars Hjemli <hjemli@gmail.com>
Sat, 26 Mar 2011 10:03:41 +0000 (11:03 +0100)
commit9240a828d13fa8f6a9e379b94b2061ca83e6199c
treea9670bca61be8d3e0349b690a4a83b2128a583d2
parentcc59ee502646dc4e3d0f8bbe29b24c7fa3f0d2dd
new_filter: determine extra_args from filter type

Currently the number of extra arguments is linked hard to the type of
the filter. This is also logical since it would be confusing to have
a different number of arguments for the same type of filter depending
on the context under which the filter is run (unless ofcourse one the
parameters would make the context clear, which is currently not the
case).

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
cgit.c
cgit.h