diff options
| author | Bryce Kwon <bryce@brycekwon.com> | |
|---|---|---|
| committer | Bryce Kwon <bryce@brycekwon.com> | |
| commit | ||
| parent | ||
| tree | ||
| download | ||
Stat oversized diffs instead of inlining them
Diffstat (limited to '')
| -rw-r--r-- | examples/cgitrc | 10 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
1 file changed, 10 insertions, 0 deletions
diff --git a/examples/cgitrc b/examples/cgitrc index e86f43c..62b10b5 100644 --- a/examples/cgitrc +++ b/examples/cgitrc @@ -341,6 +341,16 @@ max-repo-count=50 # Default is 50. max-commit-count=50 +# Commits changing more files than this render as a diffstat, where each file +# links to its own diff page. A value of 0 always renders everything inline. +# Value is an integer. Default is 200. +max-diff-files=200 + +# A file whose diff spans more lines than this is replaced by a link to its +# own diff page in whole-commit views. A value of 0 always renders it inline. +# Value is an integer. Default is 1000. +max-diff-lines=1000 + # Branches and tags listed per section on the refs page, and per page on the # dedicated branch and tag pages. A value of 0 lists everything on one page. # Value is an integer. Default is 200. |
