Files
claude-engineering-plugin/plugins
David Alley 0c404f9544 fix(git-worktree): detect worktrees where .git is a file, not a directory (#159)
In git worktrees, .git is a regular file containing a gitdir: pointer
back to the main repository — not a directory. The -d check caused
list and cleanup to silently skip all worktrees, reporting "No
worktrees found". Changed to -e (exists) which handles both cases.

Fixes #158

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-08 16:41:44 -06:00
..