You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
code review doesn't work when using worktrees #196
I love this project, to me it closes the gap to be able to review what the ai does, however I have the following issue: when I use worktrees it does not pick up changes.
Steps to reproduce:
open opencode without any worktree
the agent will create a worktree and modify the files there
plannotator does no see the worktree, instead it uses the state on the main branch.
The workaround is to close opencode, open again on the worktree folder, resume session and then do the review command again. Is there a way to make plannotator aware of the worktree?
Activity
sushi30 commentedon Mar 5, 2026
I have a similar issue. I suggest to allow annotating any commit. This way the following workflow can be supported:
/plannotator-reviewbacknotprop commentedon Mar 5, 2026
Alright, sounds good. This can be bucketed into some of the fixes I'm focused on now.
feat: support git worktrees in code review (#196)
backnotprop commentedon Mar 7, 2026
You'll be able to select from worktrees in the next release.
backnotprop commentedon Mar 7, 2026
but good point @sushi30 I'll make sure it's dynamic enough to see all commits within WorkTree.
feat: worktree mode switch with full diff options (#196)
feat: support git worktrees in code review (#241)
backnotprop commentedon Mar 7, 2026
This has been released in v0.11.2. Thanks for reporting @alexandrekm, and @sushi30 for the input on commit-level flexibility!