From 7831f77bf351172f1eb02a60ed141d2657174787 Mon Sep 17 00:00:00 2001 From: Ryan Patterson Date: Wed, 7 Dec 2016 07:38:26 -0800 Subject: [PATCH] Typo fix `inclueRemotes` -> `includeRemotes` --- src/vs/workbench/parts/git/browser/gitQuickOpen.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vs/workbench/parts/git/browser/gitQuickOpen.ts b/src/vs/workbench/parts/git/browser/gitQuickOpen.ts index 496261ca05aa5..65c8da728cce5 100644 --- a/src/vs/workbench/parts/git/browser/gitQuickOpen.ts +++ b/src/vs/workbench/parts/git/browser/gitQuickOpen.ts @@ -139,14 +139,14 @@ class CheckoutCommand implements ICommand { const checkoutType = this.gitService.checkoutType; const includeTags = checkoutType === 'all' || checkoutType === 'tags'; - const inclueRemotes = checkoutType === 'all' || checkoutType === 'remote'; + const includeRemotes = checkoutType === 'all' || checkoutType === 'remote'; const gitModel = this.gitService.getModel(); const currentHead = gitModel.getHEAD(); const refs = gitModel.getRefs(); const heads = refs.filter(ref => ref.type === RefType.Head); const tags = includeTags ? refs.filter(ref => ref.type === RefType.Tag) : []; - const remoteHeads = inclueRemotes ? refs.filter(ref => ref.type === RefType.RemoteHead) : []; + const remoteHeads = includeRemotes ? refs.filter(ref => ref.type === RefType.RemoteHead) : []; const headMatches = heads .map(head => ({ head, highlights: matchesContiguousSubString(input, head.name) }))