diff --git a/scripts/mutate-cultmesh.mjs b/scripts/mutate-cultmesh.mjs index 720444c7..08a3f1af 100644 --- a/scripts/mutate-cultmesh.mjs +++ b/scripts/mutate-cultmesh.mjs @@ -1070,6 +1070,11 @@ for (const [name, target] of Object.entries(targets)) { } if (!target.dist) { + // This digest says the file this run started with is the file it ended with. + // It is not an identity for the source: `text=auto` gives a Windows checkout + // carriage returns, so two clones of the same commit restore to two + // different digests. The identity that survives a clone is the commit, or + // `git rev-parse HEAD:` for one file. results.push({ target: name, outcome: "restored", rule: `${target.file} sha256=${originalDigest}` }); continue; }