Add support for git worktrees#746
Conversation
kpaxton
commented
May 30, 2024
- Fix resolution of git root directory to support worktree folder structures
- Use the resolved gitRoot path for commitmsg parsing and modification
* Fix resolution of git root directory to support worktree folder structures * Use the resolved gitRoot path for commitmsg parsing and modification
|
Tested this against a repo where I run Claude Code / CI work inside FWIW there's also #747 attempting the same fix — IMO this one (#746) is cleaner (relies on git's own worktree-aware @bk201- — any chance of a look? This bug bites anyone using Claude Code, VS Code multi-root, or other tooling that encourages worktrees. |
|
@bk201- Now with more usage of agents I can see this biting more users than before, could you look into this fix? |