Skip to content

Commit c7f4744

Browse files
authored
Revert "agent sessions - also exclude untitled background sessions in empty w…" (microsoft#3156)
This reverts commit 6935d24.
1 parent beb172e commit c7f4744

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/extension/chatSessions/vscode-node/copilotCLIChatSessionsContribution.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ export class CopilotCLIChatSessionItemProvider extends Disposable implements vsc
168168
return !!this.workspaceService.getWorkspaceFolder(URI.file(worktree.repositoryPath));
169169
}
170170
// Unless we are in an empty window, exclude sessions without workspace folder or git repo association.
171-
if (this.workspaceService.getWorkspaceFolders().length || vscode.workspace.workspaceFile) {
171+
if (this.workspaceService.getWorkspaceFolders().length) {
172172
return false;
173173
}
174174
return undefined;

0 commit comments

Comments
 (0)