]> gitweb.ps.run Git - ps-cgit/commit
filter: allow returning exit code from filter
authorJason A. Donenfeld <Jason@zx2c4.com>
Tue, 14 Jan 2014 17:07:23 +0000 (18:07 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Tue, 14 Jan 2014 17:09:52 +0000 (18:09 +0100)
commit6ca734da8fb246ad2272826331e0d56428b96fa1
tree01abfea3df45135b1114996de29093b6eed7023a
parentce56d89a2662549acd178292450798f5ffcd4bc6
filter: allow returning exit code from filter

Filters can now indicate a status back to cgit by means of the exit code
for exec, or the return value from close for Lua.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
cgitrc.5.txt
filter.c
filters/email-gravatar.lua