Browse Source

Ensures to pick first entry for remote branches

main
Eric Amodio 1 year ago
parent
commit
67b6b67185
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/commands/git/worktree.ts

+ 1
- 1
src/commands/git/worktree.ts View File

@ -608,7 +608,7 @@ export class WorktreeGitCommand extends QuickCommand {
[ [
createFlagsQuickPickItem<CreateFlags, Uri>( createFlagsQuickPickItem<CreateFlags, Uri>(
state.flags, state.flags,
[],
isRemoteBranch ? ['-b'] : [],
{ {
label: isRemoteBranch ? 'Create Local Branch and Worktree' : context.title, label: isRemoteBranch ? 'Create Local Branch and Worktree' : context.title,
description: ' in subfolder', description: ' in subfolder',

Loading…
Cancel
Save