mirror of
https://github.com/microsoft/vscode.git
synced 2026-09-15 16:01:10 +01:00
Display just worktree name in Background agents (#2396)
This commit is contained in:
+2
-2
@@ -18,7 +18,7 @@ import { disposableTimeout } from '../../../util/vs/base/common/async';
|
||||
import { isCancellationError } from '../../../util/vs/base/common/errors';
|
||||
import { Emitter, Event } from '../../../util/vs/base/common/event';
|
||||
import { Disposable, DisposableStore, IDisposable, IReference, toDisposable } from '../../../util/vs/base/common/lifecycle';
|
||||
import { isEqual } from '../../../util/vs/base/common/resources';
|
||||
import { basename, isEqual } from '../../../util/vs/base/common/resources';
|
||||
import { URI } from '../../../util/vs/base/common/uri';
|
||||
import { IInstantiationService } from '../../../util/vs/platform/instantiation/common/instantiation';
|
||||
import { ToolCall } from '../../agents/copilotcli/common/copilotCLITools';
|
||||
@@ -89,7 +89,7 @@ export class CopilotCLIWorktreeManager {
|
||||
const result = await this.tryCreateWorktree(progress);
|
||||
resolve(result);
|
||||
if (result) {
|
||||
return vscode.l10n.t('Created isolated worktree at {0}', result);
|
||||
return vscode.l10n.t('Created isolated worktree at {0}', basename(Uri.file(result)));
|
||||
}
|
||||
return undefined;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user