Skip to content

Commit 1245a30

Browse files
committed
spec(changes): say why the base archive omits the committed copies
Claude-Session: https://claude.ai/code/session_01VZqqwTj2wsihZEbfT6yyYN Co-authored-by: Claude <noreply@anthropic.com>
1 parent 58d075a commit 1245a30

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎packages/spec/scripts/render-projection-diff.ts‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,9 @@ function git(args: string[], cwd: string): { status: number; stdout: string; std
109109
export type MaterializeBase = (repoRoot: string, sha: string, dest: string) => string;
110110

111111
function realMaterializeBase(repoRoot: string, sha: string, dest: string): string {
112+
// Only the generators' inputs, and deliberately NOT the committed copies: a
113+
// pre-`--out` base then writes its committed path into an empty slot, so what
114+
// `generateSide` reads there can only be what that generator just produced.
112115
const tar = join(dest, 'base.tar');
113116
const archived = git(
114117
[

0 commit comments

Comments
 (0)