mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-12 18:30:39 +08:00
repo_blob and repo_readme resolved the blob through radicle-surf, which also walks history to find the last commit that touched the path. libgit2 ignores the commit-graph and diffs every commit, so opening a file last changed long ago took a long time and varied by how far back the file changed, not by its size. Resolve the content with a direct tree lookup and the last commit via `git rev-list -1`, falling back to the libgit2 walk when git is unavailable.