mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-12-02 19:40:35 +08:00
The commit and diff endpoints inlined every changed blob in `files`, so a commit with large files grew the response, and httpd's memory, with it. Blobs are now inlined only up to 512 KiB each and 8 MiB per response, with sizes read from object headers so skipped blobs are never loaded. Both sides of a file are inlined or neither, and the explorer shows skipped files without syntax highlighting. Co-authored-by: Rūdolfs Ošiņš <rudolfs@osins.org>