Feature Discussion - Multi Repo Support
I'd like to start a discussion on if you'd be open to a feature that supports resolving multiple repositories based on location for the purposes of creating multiple worktree calls (1 per package) whenever a new feature is created.
Example
Folder Layout
my-big-project/
my-api/ <- git repo 1
my-ui/ <- git repo 2
my-common-models/ <- git repo 3
Pseudo-Code
`wt` invoked:
if multi_space.enabled:
use configured resolver() to find all repos for project:
[1...n] normal `wt` operations
There's definitely some challenges here because the TUI assumes a single project (by divergence status, displaying short commit id, descriptions, etc).
The other option is to build a separate TUI that stitches together and dispatches wt commands as a wrapper.
Curious to hear your thoughts on this. I'd be willing to work on it -- but wanted to hear first.
-Rich
Thanks for the suggestion! This appears to be related to #980, which covers multi-repo workflows including repo picking, cross-repo worktree listing/switching, and centralized worktree layouts. That issue also includes a concrete wrapper approach and discussion of potential upstream support.
I'll leave it to a maintainer to confirm and link them.
Not sure how I missed that open issue. We can combine this into there.