From 98fc37027c636f7d37bff6f2aebe29332e8e3d3f Mon Sep 17 00:00:00 2001 From: Garry Tan Date: Fri, 17 Jul 2026 15:35:46 -0700 Subject: [PATCH] fix: listEverCommittedPaths uses gitContextRoot after #753 root-triple refactor Co-Authored-By: Claude Fable 5 --- src/commands/sync.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/sync.ts b/src/commands/sync.ts index ca54dd29a..0e857003b 100644 --- a/src/commands/sync.ts +++ b/src/commands/sync.ts @@ -3334,7 +3334,7 @@ async function performFullSync( // Keep those pages and re-export their markdown to the working tree so // they're file-backed again; only pages whose file once existed in git // history (i.e. was genuinely deleted) are reconcile-deleted. - const everCommitted = listEverCommittedPaths(repoPath); + const everCommitted = listEverCommittedPaths(gitContextRoot); const pathBySlug = new Map(rows.map(r => [r.slug, r.source_path])); let deletableSlugs = plan.staleSlugs; const dbOnlySlugs: string[] = [];