]> gitweb.ps.run Git - ps-cgit/commit
"max-blob-size" config var to limit generated HTML size
authorGeorg Lukas <georg@op-co.de>
Sat, 28 Nov 2009 02:44:33 +0000 (03:44 +0100)
committerGeorg Lukas <georg@op-co.de>
Sat, 28 Nov 2009 02:44:33 +0000 (03:44 +0100)
commitef07ccc72da0270e9298c36046a0187dc359b0da
tree57a2ffdeb929d9b4ed44dfae3a1fb7ca550aac63
parent545b5a5dcae2a0c322381493ee90f6c37353da9c
"max-blob-size" config var to limit generated HTML size

Sometimes it is not feasible to generate the HTML pretty-print for large
files, especially if a source-filter is involved or binary data is to be
displayed. The "max-blob-size" config var allows to disable HTML output
for blobs bigger than X KBytes. Plain downloads are not affected.

Signed-off-by: Georg Lukas <georg@op-co.de>
cgit.c
cgit.h
cgitrc.5.txt
ui-tree.c