matt wilkie
e01b7412d9
feat: add Git worktree compatibility (PR #478 )
...
Adds comprehensive Git worktree support for beads issue tracking:
Core changes:
- New internal/git/gitdir.go package for worktree detection
- GetGitDir() returns proper .git location (main repo, not worktree)
- Updated all hooks to use git.GetGitDir() instead of local helper
- BeadsDir() now prioritizes main repository's .beads directory
Features:
- Hooks auto-install in main repo when run from worktree
- Shared .beads directory across all worktrees
- Config option no-install-hooks to disable auto-install
- New bd worktree subcommand for diagnostics
Documentation:
- New docs/WORKTREES.md with setup instructions
- Updated CHANGELOG.md and AGENT_INSTRUCTIONS.md
Testing:
- Updated tests to use exported git.GetGitDir()
- Added worktree detection tests
Co-authored-by: Claude <noreply@anthropic.com >
Closes : #478
2025-12-13 12:50:33 -08:00
..
2025-12-13 12:50:33 -08:00
2025-12-13 12:50:33 -08:00
2025-12-13 12:50:33 -08:00
2025-12-01 21:17:56 -08:00
2025-12-07 21:09:32 +11:00
2025-12-13 12:50:33 -08:00
2025-11-26 22:02:59 -08:00
2025-11-26 22:02:59 -08:00
2025-12-02 23:44:22 -08:00
2025-12-07 21:34:35 +11:00
2025-12-13 12:50:33 -08:00
2025-11-28 23:19:21 -08:00
2025-12-03 15:55:35 -08:00
2025-12-13 12:50:33 -08:00
2025-11-24 23:39:54 -08:00
2025-11-26 20:59:07 -08:00
2025-11-28 23:14:12 -08:00
2025-11-29 22:24:29 -08:00
2025-11-28 23:10:44 -08:00
2025-11-28 23:10:44 -08:00
2025-12-01 21:09:00 -08:00
2025-12-01 17:37:56 -08:00
2025-12-11 07:11:15 -05:00
2025-11-24 23:39:54 -08:00
2025-12-11 07:11:42 -05:00
2025-12-13 12:50:33 -08:00
2025-11-28 23:14:12 -08:00
2025-12-13 12:50:33 -08:00
2025-12-11 07:11:15 -05:00
2025-12-13 12:50:33 -08:00
2025-12-01 21:09:00 -08:00
2025-11-25 11:46:06 -08:00
2025-12-12 13:19:31 -08:00
2025-11-25 16:36:46 -08:00
2025-11-25 12:03:21 -08:00
2025-12-01 21:17:56 -08:00
2025-11-25 19:32:05 -08:00
2025-12-02 23:44:22 -08:00
2025-11-27 22:40:57 -08:00
2025-12-13 10:04:01 +11:00
2025-12-13 12:50:33 -08:00
2025-12-13 12:50:33 -08:00
2025-11-27 22:39:13 -08:00
2025-12-02 23:44:22 -08:00
2025-12-02 23:44:22 -08:00
2025-12-02 23:44:22 -08:00
2025-12-07 21:14:13 +11:00
2025-12-02 22:41:07 -08:00
2025-12-07 20:57:58 +11:00
2025-11-26 17:42:14 -08:00
2025-12-13 12:50:33 -08:00
2025-12-13 12:50:33 -08:00
2025-12-12 13:28:48 -08:00
2025-12-12 13:28:48 -08:00
2025-12-03 16:24:24 -08:00
2025-11-29 23:22:52 -08:00
2025-12-13 12:50:33 -08:00
2025-12-13 12:50:33 -08:00
2025-12-13 12:50:33 -08:00
2025-11-28 23:14:12 -08:00
2025-11-29 17:01:36 -08:00
2025-11-30 15:35:30 -08:00
2025-12-03 17:50:23 -08:00
2025-12-02 23:44:22 -08:00
2025-11-24 20:16:07 -08:00
2025-11-29 22:24:29 -08:00
2025-12-07 21:09:32 +11:00
2025-11-28 23:11:24 -08:00
2025-12-02 23:44:22 -08:00
2025-12-02 23:44:22 -08:00
2025-12-04 11:21:43 -08:00
2025-12-13 12:50:33 -08:00
2025-12-07 21:34:35 +11:00
2025-12-13 12:50:33 -08:00
2025-12-02 23:44:22 -08:00
2025-12-04 11:21:43 -08:00
2025-11-26 17:42:14 -08:00
2025-12-05 13:20:51 -08:00
2025-12-05 13:20:51 -08:00
2025-12-03 18:08:33 -08:00
2025-12-03 18:08:33 -08:00
2025-12-02 23:44:22 -08:00
2025-11-30 00:38:57 -08:00
2025-12-05 15:48:46 -08:00
2025-12-05 14:47:02 -08:00
2025-12-02 23:44:22 -08:00
2025-12-02 23:44:22 -08:00
2025-12-02 23:44:22 -08:00
2025-12-04 11:21:43 -08:00
2025-11-24 21:16:44 -08:00
2025-12-03 18:10:35 -08:00
2025-12-03 15:55:35 -08:00
2025-12-02 22:41:07 -08:00
2025-11-26 22:02:59 -08:00
2025-11-26 22:02:59 -08:00
2025-12-04 11:21:43 -08:00
2025-12-13 10:21:54 -08:00
2025-12-13 12:50:33 -08:00
2025-12-04 11:21:43 -08:00
2025-12-13 12:50:33 -08:00
2025-11-24 00:21:01 -08:00
2025-11-24 10:56:14 -08:00
2025-11-24 11:28:32 -08:00
2025-12-13 12:50:33 -08:00
2025-12-03 18:30:53 -08:00
2025-12-02 23:44:22 -08:00
2025-12-13 10:04:01 +11:00
2025-12-04 11:21:43 -08:00
2025-12-02 23:38:20 -08:00
2025-12-03 16:24:46 -08:00
2025-12-13 12:50:33 -08:00