Skip to content

Commit

Permalink
Typo fix
Browse files Browse the repository at this point in the history
`inclueRemotes` -> `includeRemotes`
  • Loading branch information
ryapapap authored Dec 7, 2016
1 parent d55c1df commit 7831f77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vs/workbench/parts/git/browser/gitQuickOpen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) }))
Expand Down

0 comments on commit 7831f77

Please sign in to comment.