mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-26 10:16:01 +01:00
fix checkout branchs/tags
This commit is contained in:
@@ -381,7 +381,7 @@ export class CommandCenter {
|
||||
@CommandCenter.CatchErrors
|
||||
async checkout(): Promise<void> {
|
||||
const config = workspace.getConfiguration('git');
|
||||
const checkoutType = config.get<string>('checkoutType');
|
||||
const checkoutType = config.get<string>('checkoutType') || 'all';
|
||||
const includeTags = checkoutType === 'all' || checkoutType === 'tags';
|
||||
const includeRemotes = checkoutType === 'all' || checkoutType === 'remote';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user