connor / loot

connor/loot

Changes touching this path

  • bare loot new --no-snapshot no longer walks and reads the working tree, since it captures nothing and its signing gates judge the recorded rows: Workspace::signing_gates and finalize_capturing_over take the disk tree as an Option, None meaning the recorded working change, and finalize_capturing_allowing reads the tree only when it captures; around a bare loot new --no-snapshot over a described working change of 20 and 200 files, tree_walks went from 1 to 0, allocations from 1081 and 6827 to 831 and 4586, and policy_parses from 4 to 2, and a disk read error no longer refuses a finalize that signs nothing from disk; loot new -m --no-snapshot still reads the tree for its capture, the zyvqxmzq refusal pins stay green, the probe is not kept as a test, the gated counters do not move, and the suite is green at 2096 passed (rkptuply) ab7ca21b · 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.