fix: reconcile display names for worktrees, not just checkouts
The reconciliation service was skipping worktree workspaces when updating displayName from the current git branch, causing the sidebar to show the initial random animal name instead of the actual branch.
This commit is contained in:
@@ -203,7 +203,6 @@ export class WorkspaceReconciliationService {
|
||||
|
||||
// 4. Reconcile workspace display names (branch name changes)
|
||||
for (const workspace of siblings) {
|
||||
if (workspace.kind !== "checkout") continue;
|
||||
if (!existsSync(workspace.directory)) continue;
|
||||
|
||||
const wsDirName =
|
||||
|
||||
Reference in New Issue
Block a user