Skip to content

Worktree Create button (+) does not do anything, under certain conditions #2530

Closed
@jospvl

Description

@jospvl

Description

When there are two or more worktrees and the active worktree is not Main, the + button does not do anything.
It does work when the Main worktree is active, though.

This is probably related to issue #2301 but still occurring in v13.3.1 and in pre-release v2023.2.2411.

When it doesn't work, GitLens debugging output pane reports:
Vc.execute — failed
TypeError: Cannot read properties of undefined (reading 'path')

GitLens Version

13.3.1

VS Code Version

Version: 1.75.1
Commit: 441438abd1ac652551dbe4d408dfcec8a499b8bf
Date: 2023-02-08T21:34:59.000Z
Electron: 19.1.9
Chromium: 102.0.5005.194
Node.js: 16.14.2
V8: 10.2.154.23-electron.0
OS: Darwin x64 22.3.0
Sandboxed: No

Git Version

git version 2.39.2

Logs, Screenshots, Screen Captures, etc

No response

Metadata

Metadata

Labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions