We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 243a034 commit 3a62761Copy full SHA for 3a62761
src/services/checkpoints/ShadowCheckpointService.ts
@@ -328,7 +328,8 @@ export abstract class ShadowCheckpointService extends EventEmitter {
328
this.log(`[${this.constructor.name}#getDiff] diffing ${to ? `${from}..${to}` : `${from}..HEAD`}`)
329
const { files } = to ? await this.git.diffSummary([`${from}..${to}`]) : await this.git.diffSummary([from])
330
331
- const cwdPath = (await this.getShadowGitConfigWorktree(this.git)) || this.workspaceDir || ""
+ // Always use the provided workspaceDir to avoid symlink-induced path mismatches (e.g., /tmp vs /private/tmp)
332
+ const cwdPath = this.workspaceDir
333
334
for (const file of files) {
335
const relPath = file.file
0 commit comments