{"draft":null,"from":162,"to":163,"files":[{"path":"worker/project/version-log.ts","added":7,"removed":3,"diff":"--- a/worker/project/version-log.ts\n+++ b/worker/project/version-log.ts\n@@ -251,18 +251,22 @@\n \thost.checkVersion(space, to);\n \tconst a = host.at(space, from);\n \tconst b = host.at(space, to);\n+\tconst before = host.viewAt(space, from);\n+\tconst after = host.viewAt(space, to);\n \tconst files = new Set<string>();\n \tfor (const [x, y] of [\n \t\t[a, b],\n \t\t[b, a],\n \t] as const) {\n \t\tfor (const file of host.touchedFiles(\n-\t\t\t[...x].filter((id) => !y.has(id)),\n-\t\t\t[host.view(a), host.view(b)],\n+\t\t\t(function* () {\n+\t\t\t\tfor (const id of x) if (!y.has(id)) yield id;\n+\t\t\t})(),\n+\t\t\t[before, after],\n \t\t))\n \t\t\tfiles.add(file);\n \t}\n-\treturn { from, to, files: changesBetween(host.view(a), host.view(b), files) };\n+\treturn { from, to, files: changesBetween(before, after, files) };\n }\n \n /** A version of shared (or of a named draft) as a ReadView, for reading lines (blame at a version). */"}],"unmatched":[]}