Describe the Bug
When you create a git worktree, it shows up as an uncommitted change.
Steps to Reproduce
Steps to reproduce the behaviour:
Open a repo in vscode
Checkout branchA
Create a nested worktree for branchB - git worktree add .wt/worktreeB branchB
Expected Behaviour
Git Graph should locate worktrees and ignore them as changes.
Environment
Git Graph Extension Version: 1.30.0
Visual Studio Code Version: 1.84.1
Operating System: macOS arm64
Screenshots (optional)
Additional Context (optional)
You could read from .git/worktrees/*/gitdir and drop the last path segment.
(I can't think of a better way to do this)
⚠ Please make sure you complete all of the required sections of this template. Without this required information, it will be harder to replicate this bug, and cause additional delays in resolving it.
Describe the Bug When you create a git worktree, it shows up as an uncommitted change.
Steps to Reproduce Steps to reproduce the behaviour:
git worktree add .wt/worktreeB branchB
Expected Behaviour Git Graph should locate worktrees and ignore them as changes.
Environment
Screenshots (optional)
Additional Context (optional) You could read from
.git/worktrees/*/gitdir
and drop the last path segment. (I can't think of a better way to do this)⚠ Please make sure you complete all of the required sections of this template. Without this required information, it will be harder to replicate this bug, and cause additional delays in resolving it.