From 5f5de2bb1fb8ef52c8dd6bbb199e267efa81ea55 Mon Sep 17 00:00:00 2001 From: Joao Moreno Date: Tue, 31 Jan 2017 16:00:55 +0100 Subject: [PATCH] fix checkout branchs/tags --- extensions/git/src/commands.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/git/src/commands.ts b/extensions/git/src/commands.ts index 5185a6155b8..26411f337b8 100644 --- a/extensions/git/src/commands.ts +++ b/extensions/git/src/commands.ts @@ -381,7 +381,7 @@ export class CommandCenter { @CommandCenter.CatchErrors async checkout(): Promise { const config = workspace.getConfiguration('git'); - const checkoutType = config.get('checkoutType'); + const checkoutType = config.get('checkoutType') || 'all'; const includeTags = checkoutType === 'all' || checkoutType === 'tags'; const includeRemotes = checkoutType === 'all' || checkoutType === 'remote';