Skip to content

feat(git): add repo root selection for nested workspaces#77

Merged
Dimillian merged 6 commits intoDimillian:mainfrom
jonasjancarik:feat/git-root-scan
Jan 18, 2026
Merged

feat(git): add repo root selection for nested workspaces#77
Dimillian merged 6 commits intoDimillian:mainfrom
jonasjancarik:feat/git-root-scan

Conversation

@jonasjancarik
Copy link
Contributor

@jonasjancarik jonasjancarik commented Jan 17, 2026

Summary

  • add per-workspace git root selection with bounded repo scan + manual picker
  • wire backend root resolution + list_git_roots command
  • update git pane UI (path label, change button, active highlight)

Use case

When a workspace points at a parent folder without a .git, the Git pane currently errors. This adds a scoped, opt-in way to target a nested repo (or scan for candidates) so Git status/diffs/logs work without adding each sub-repo as a separate workspace.

Transparency

Vibecoded with Codex; human confirmed working.

Testing

  • npm run lint
  • npm run typecheck

@jonasjancarik jonasjancarik marked this pull request as ready for review January 17, 2026 22:47
@jonasjancarik jonasjancarik marked this pull request as draft January 17, 2026 22:48
@jonasjancarik jonasjancarik marked this pull request as ready for review January 17, 2026 22:51
@Dimillian
Copy link
Owner

@codex review

@chatgpt-codex-connector
Copy link

Codex Review: Didn't find any major issues. Nice work!

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@Dimillian Dimillian merged commit 1bc13e8 into Dimillian:main Jan 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants