Skip to content

Commit c175434

Browse files
authored
Merge pull request #3362 from microsoft/don/fix-openfolder-background
Ensure selected background session folder is dipalyaed in list
2 parents 3850c85 + e712078 commit c175434

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,7 @@ export class CopilotCLIChatSessionContentProvider extends Disposable implements
297297
}
298298

299299
public notifyProviderOptionsChange(): void {
300+
this._repositoryOptionItemsForUntitledWorkspace = undefined;
300301
this._onDidChangeChatSessionProviderOptions.fire();
301302
}
302303

@@ -1508,7 +1509,7 @@ export function registerCLIChatCommands(copilotcliSessionItemProvider: CopilotCL
15081509

15091510
const selectedFolderUri = folderUris[0];
15101511
const sessionId = SessionIdForCLI.parse(sessionItemResource);
1511-
1512+
untitledWorkspaceFodlers.set(selectedFolderUri, Date.now());
15121513
await trackSelectedFolderOrRepo(sessionId, selectedFolderUri.fsPath, copilotCliWorkspaceSession, copilotCLIWorktreeManagerService);
15131514

15141515
// Notify VS Code that the option changed

0 commit comments

Comments
 (0)