Browse Source

Makes enum bit flags clearer

main
Eric Amodio 2 years ago
parent
commit
44ad987844
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      src/quickpicks/referencePicker.ts

+ 5
- 5
src/quickpicks/referencePicker.ts View File

@ -11,12 +11,12 @@ import { BranchQuickPickItem, getQuickPickIgnoreFocusOut, RefQuickPickItem, TagQ
export type ReferencesQuickPickItem = BranchQuickPickItem | TagQuickPickItem | RefQuickPickItem;
export const enum ReferencesQuickPickIncludes {
Branches = 1,
Tags = 2,
WorkingTree = 4,
HEAD = 8,
Branches = 1 << 0,
Tags = 1 << 1,
WorkingTree = 1 << 2,
HEAD = 1 << 3,
BranchesAndTags = 3,
BranchesAndTags = Branches | Tags,
}
export interface ReferencesQuickPickOptions {

Loading…
Cancel
Save