mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 03:54:24 +01:00
Merge commit 'refs/pull/78504/head' of github.com:microsoft/vscode into pr/78504
This commit is contained in:
@@ -450,6 +450,11 @@ export class CommandCenter {
|
||||
return;
|
||||
}
|
||||
|
||||
const match = /git\s+clone\s+(.*)/.exec(url);
|
||||
if (match) {
|
||||
url = match[1];
|
||||
}
|
||||
|
||||
const config = workspace.getConfiguration('git');
|
||||
let defaultCloneDirectory = config.get<string>('defaultCloneDirectory') || os.homedir();
|
||||
defaultCloneDirectory = defaultCloneDirectory.replace(/^~/, os.homedir());
|
||||
|
||||
Reference in New Issue
Block a user