diff options
context:
space:
mode:
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Stat oversized diffs instead of inlining them
Diffstat (limited to '')
-rw-r--r--cgitrc.5.txt12
1 file changed, 12 insertions, 0 deletions
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".