Diff options
| author | Bryce Kwon <bryce@brycekwon.com> | |
|---|---|---|
| committer | Bryce Kwon <bryce@brycekwon.com> | |
| commit | ||
| parent | ||
| tree | ||
| download | ||
Note what the log's count columns cost
On a scratch repository with 400-line files, the line count took a
50-row log from 5 ms to 38 ms, while the file count alone added 3 ms.
A commit-graph file changes neither, since the diffs read trees and
blobs rather than commits.
Diffstat (limited to 'MANUAL.txt')
| -rw-r--r-- | MANUAL.txt | 11 |
1 file changed, 7 insertions, 4 deletions
@@ -265,13 +265,16 @@ enable-index-owner:: enable-log-filecount:: Flag which, when set to "1", makes cgit print the number of modified - files for each commit on the repository log page. Default value: "0". - See also: "repo.enable-log-filecount". + files for each commit on the repository log and summary pages. To count + them, cgit diffs the tree of every listed commit against that of its + first parent. Default value: "0". See also: "repo.enable-log-filecount". enable-log-linecount:: Flag which, when set to "1", makes cgit print the number of added and - removed lines for each commit on the repository log page. Default value: - "0". See also: "repo.enable-log-linecount". + removed lines for each commit on the repository log and summary pages. + To count them, cgit diffs every file each listed commit changes against + its first parent, which can make those pages several times slower. + Default value: "0". See also: "repo.enable-log-linecount". enable-mailmap:: Flag which, when set to "1", applies the repository's mailmap to every |
