]> gitweb.ps.run Git - ps-cgit/commitdiff
filter: pass extra arguments via cgit_open_filter
authorJohn Keeping <john@keeping.me.uk>
Sun, 12 Jan 2014 17:13:50 +0000 (17:13 +0000)
committerJason A. Donenfeld <Jason@zx2c4.com>
Sun, 12 Jan 2014 19:20:20 +0000 (20:20 +0100)
This avoids poking into the filter data structure at various points in
the code.  We rely on the fact that the number of arguments is fixed
based on the filter type (set in cgit_new_filter) and that the call
sites all know which filter type they're using.

Signed-off-by: John Keeping <john@keeping.me.uk>

No differences found