sdk returns wrong worktree field for projects that are submodules #1822

Closed
opened 2026-02-16 17:32:49 -05:00 by yindo · 2 comments
Owner

Originally created by @remorses on GitHub (Sep 25, 2025).

Originally assigned to: @rekram1-node on GitHub.

A project that is a submodule of another git project will have worktree field with format /path/to/parent/.git/modules

Instead it should be the path of that submodule folder. Something like /path/to/parent/child-submodule-folder

Originally created by @remorses on GitHub (Sep 25, 2025). Originally assigned to: @rekram1-node on GitHub. A project that is a submodule of another git project will have worktree field with format `/path/to/parent/.git/modules` Instead it should be the path of that submodule folder. Something like `/path/to/parent/child-submodule-folder`
yindo closed this issue 2026-02-16 17:32:49 -05:00
Author
Owner

@rekram1-node commented on GitHub (Sep 25, 2025):

thx for callout will fix

@rekram1-node commented on GitHub (Sep 25, 2025): thx for callout will fix
Author
Owner

@rekram1-node commented on GitHub (Oct 3, 2025):

should be fixed

@rekram1-node commented on GitHub (Oct 3, 2025): should be fixed
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1822