Adding Filter Types to cgit [was: RFE: .so filters]

Jason A. Donenfeld Jason at zx2c4.com
Mon Jan 13 03:51:23 CET 2014


This commit filter works for reversing commit messages:

buffer = ""

function filter_open()
        buffer = ""
end

function filter_close()
        html(string.reverse(buffer))
end

function filter_write(str)
        buffer = buffer .. str
end


More information about the CGit mailing list