-
fix: support bare repo worktrees in GitWorktree widget (#138)
发布于
2026-03-04 16:47:59 +00:00 - fix: support bare repo worktrees in GitWorktree widget
The GitWorktree widget now correctly detects worktrees from bare
repositories. Previously, it only checked for.git/worktrees/in
the path, but bare repos store worktree metadata at
<bare-repo>/worktrees/<name>without the.gitprefix.This adds an additional check for
/worktrees/pattern when the
.git/worktrees/pattern isn't found.Fixes detection for setups like:
- Bare repo at: /path/to/repo (contains objects/, refs/, HEAD, etc.)
- Worktree at: /path/to/repo/trees/feature-x
- Git dir: /path/to/repo/worktrees/feature-x
-
chore: remove accidental npm lockfile from PR branch
-
chore: bump version to 2.1.10 and update recent updates
Co-authored-by: Matthew Breedlove sirmalloc@gmail.com
下载附件