From 6fb59b3291a63445499f81b609171db0db0d90ee Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sun, 1 Nov 2026 11:29:40 -1000 Subject: Dump only the first 64 KB of a binary file --- MANUAL.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'MANUAL.txt') diff --git a/MANUAL.txt b/MANUAL.txt index 4efc0db..b4d5eaf 100644 --- a/MANUAL.txt +++ b/MANUAL.txt @@ -344,8 +344,10 @@ 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. Set to "0" to disable the limit. Default value: - "10240" (10 MB). + 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. + Default value: "10240" (10 MB). max-commit-count:: Specifies the number of entries to list per page in "log" page. Default -- cgit 2.12.1