mirror of
https://github.com/getpaseo/paseo.git
synced 2026-10-25 10:42:45 +00:00
* fix(git): preserve renames in committed file diffs Follow the requested destination through rename detection so the patch agrees with commit history instead of showing the whole file as newly added. * test(git): keep rename fixtures valid across platforms * fix(git): keep added copies out of committed rename diffs Detect rename sources across the first-parent commit before narrowing the patch. Follow mode also detected copies, causing added files to open as partial diffs against unchanged files. * perf(git): share committed rename discovery across file requests Opening a commit requests all of its file diffs concurrently. Share pending and completed rename scans for immutable commit IDs in a bounded cache, while symbolic refs always read fresh metadata. --------- Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com>