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:
Mohamed Boudra
2026-04-05 22:31:07 +07:00
parent 8f83876a3c
commit c6e87744f1
@@ -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 =