a pull no longer rewrites files that already hold the pulled bytes, and a pull that merges heads no longer opens and writes again what its fold just wrote: the surface walk leaves a file already holding the bytes it opened untouched, so its modification time and the stat cache entry survive, and the materialize of the fold hands the paths it opened and wrote to the surface of the pull as an AlreadyOnDisk at the same change, reader and clock, which the surface skips; the pull captured uncaptured edits first, so the disk held no edit for either write to overwrite. on the new pull_object_reads instrument over verbs::sync::pull at 200 paths, a merging pull goes from 1417 to 1217 object_gets with object_disk_reads flat at 201, a fast-forward pull stays at 1005 object_gets and 200 object_disk_reads, and both go from 200 rewritten files to 1; with the byte comparison cut to a length check the same-length pulled edit stayed stale (0 passed, 1 failed), with the surface not reusing the fold it went red on the gets (0 passed, 1 failed), the gated counters do not move, and the suite is green at 2103 passed (yolryuww) e4c5cf69 · dbf3dbe6…
Renames are not followed. loot's tree maps a path to an address, so a rename is a delete and an add. This list is the history of the name, not of the bytes.