loopprep

Snapshot Diff

total 00:00
Hard48 minPremium Asked at Cursor

    Hash a repository snapshot into a Merkle tree, then use it the way an editor does: find the files that changed between two snapshots without reading the ones that did not, rehash only what a write touched, and spot a rename instead of reporting a delete and an add.

    The five steps
    1. Hash every file 8 min
    2. Hash the directories 9 min
    3. What changed 10 min
    4. Rehash only what changed 11 min
    5. Moves and renames 10 min