You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4ddfaa2
Browse filesBrowse the repository at this point in the historyBrowse files
catch (cause) { throw new Error(`Could not fetch base branch ${repo.baseBranch} from origin; check that it exists and Git authentication works`, { cause }); }
if (actual !== expected || dirname(actual) !== managed) throw new Blocked("Unexpected worktree path");
72
+
if (await realpath(await this.git(directory, "rev-parse", "--show-toplevel")) !== actual) throw new Blocked("Task directory is not the worktree root");
67
73
if (await this.git(directory, "branch", "--show-current") !== task.branch) throw new Blocked("Worktree branch changed");
68
74
const common = await this.git(directory, "rev-parse", "--path-format=absolute", "--git-common-dir");
69
75
const original = await this.git(repo.directory, "rev-parse", "--path-format=absolute", "--git-common-dir");
0 commit comments