SIGN IN SIGN UP

agentHost: Default worktree branch picker to repo default branch (#309676)

When the isolation picker is 'worktree', the branch picker now defaults
to the repository's default branch (via refs/remotes/origin/HEAD) instead
of the current branch. When isolation is 'folder', the branch picker
shows the current branch as before.

Adds getDefaultBranch() to IAgentHostGitService.

(Written by Copilot)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
R
Rob Lourens committed
cf7f246ace2bc47ee9578fa2285c93a7bf79239c
Parent: d527b0f
Committed by GitHub <noreply@github.com> on 4/14/2026, 2:22:01 AM