From ff262e488c280c809f3ddc40ae3efd65fd350801 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sun, 19 Jul 2026 16:22:09 -1000 Subject: Stat oversized diffs instead of inlining them --- cgitrc.5.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'cgitrc.5.txt') diff --git a/cgitrc.5.txt b/cgitrc.5.txt index 18916f9..e56cbae 100644 --- a/cgitrc.5.txt +++ b/cgitrc.5.txt @@ -298,6 +298,18 @@ max-commit-count:: Specifies the number of entries to list per page in "log" view. Default value: "50". +max-diff-files:: + If a commit changes more files than this, the "commit" and "diff" + views show only the diffstat, where each file links to its own diff + page. The "rawdiff" and "patch" views are never limited. Default + value: "200". Set to "0" to always render every file inline. + +max-diff-lines:: + If a single file's diff spans more lines than this, the whole-commit + views print a note in its place linking to the file's own diff page, + which always renders in full. Default value: "1000". Set to "0" to + always render oversized files inline. + max-message-length:: Specifies the maximum number of commit message characters to display in "log" view. Default value: "80". -- cgit v2.8.0