Diff options
| author | Bryce Kwon <bryce@brycekwon.com> | |
|---|---|---|
| committer | Bryce Kwon <bryce@brycekwon.com> | |
| commit | ||
| parent | ||
| tree | ||
| download | ||
Hold the mailmap to max-blob-size
git's read_mailmap_blob inflates the whole blob, so a pusher could make
every page of a repository read as much as they liked. git reads a
note and the .gitmodules file whole as well, and capping those would
mean bounding the lookups where the log, commit and tree pages make
them, so the manual names them instead. Nothing tested that
mailmap.file and mailmap.blob are ignored either.
Diffstat (limited to 'MANUAL.txt')
| -rw-r--r-- | MANUAL.txt | 8 |
1 file changed, 5 insertions, 3 deletions
@@ -402,9 +402,11 @@ max-blob-size:: memory to serve. The tree page's file view, the blame page, a tracked readme, a snapshot signature and the raw "plain" and "blob" output all refuse a larger object rather than load it whole, and the diff and patch - pages show it as binary. Whatever this is set to, the tree page shows no - more than the first 64 KB of a binary file as a hex dump, and links a - larger one to its "plain" output. Set to "0" to disable the limit. + pages show it as binary. A larger .mailmap is not applied, though a note + shown with a commit and a .gitmodules file are still read whole. Whatever + this is set to, the tree page shows no more than the first 64 KB of a + binary file as a hex dump, and links a larger one to its "plain" output. + Set to "0" to disable the limit. Default value: "10240" (10 MB). max-commit-count:: |
