path: root/cgitrc.5.txt
diff options
authorGeorg Lukas <georg@op-co.de>2009-11-28 03:44:33 +0100
committerGeorg Lukas <georg@op-co.de>2009-11-28 03:44:33 +0100
commitef07ccc72da0270e9298c36046a0187dc359b0da (patch)
tree57a2ffdeb929d9b4ed44dfae3a1fb7ca550aac63 /cgitrc.5.txt
parentcgit.css: highlight directories in tree (diff)
"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>
Diffstat (limited to '')
1 files changed, 4 insertions, 0 deletions
diff --git a/cgitrc.5.txt b/cgitrc.5.txt
index 0c13485..e69140b 100644
--- a/cgitrc.5.txt
+++ b/cgitrc.5.txt
@@ -177,6 +177,10 @@ max-repodesc-length::
Specifies the maximum number of repo description characters to display
on the repository index page. Default value: "80".
+ Specifies the maximum size of a blob to display HTML for in KBytes.
+ Default value: "0" (limit disabled).
Set the default maximum statistics period. Valid values are "week",
"month", "quarter" and "year". If unspecified, statistics are