mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-28 12:33:35 +01:00
move git rename to command palette
This commit is contained in:
@@ -766,7 +766,9 @@ export class CommandCenter {
|
||||
}
|
||||
|
||||
@command('git.rename', { repository: true })
|
||||
async rename(repository: Repository, fromUri: Uri): Promise<void> {
|
||||
async rename(repository: Repository, fromUri: Uri | undefined): Promise<void> {
|
||||
fromUri = fromUri ?? window.activeTextEditor?.document.uri;
|
||||
|
||||
if (!fromUri) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user