Add git worktree support#239
Add git worktree support#239ArthurHeymans wants to merge 1 commit intoeditor-code-assistant:masterfrom
Conversation
- Add new eca.git namespace with utilities for detecting git roots and worktrees - Update config loading to fall back to git root when no workspace folders provided - Update initialize handler to use git root as workspace folder fallback - Fix test isolation by mocking config/get-env in provider-api-key test - Add comprehensive tests for git utilities and config fallback behavior Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
|
What problem does it solve? Thank you |
I have a git worktree inside a git directory, let's say .worktree/feature_x. Previously eca would then operate on the root worktree rather than the feature_x worktree. |
|
Please create issues before PRs for things we should discuss before, this avoids re-work |
|
agree with ericdallo
That is exactly what I do. I have different worktrees in different roots and they each have my own |
Add git worktree support for workspace and config discovery
Signed-off-by: Arthur Heymans arthur@aheymans.xyz