mirror of
https://github.com/stablyai/orca.git
synced 2026-11-15 02:17:31 +00:00
Switch or create a branch in place from the Source Control header (#38836)
Adds a branch picker to the Source Control header for switching or creating a branch in place. Switching is disabled while an agent is working in the workspace, and results show as toasts.
This commit is contained in:
@@ -10,6 +10,7 @@ type RuntimeGitCommandName =
|
||||
| 'getRuntimeGitMutationInFlight'
|
||||
| 'abortRuntimeGitMerge'
|
||||
| 'abortRuntimeGitRebase'
|
||||
| 'switchRuntimeGitBranch'
|
||||
| 'checkoutRuntimeGitBranch'
|
||||
| 'listRuntimeGitLocalBranches'
|
||||
| 'getRuntimeGitDiff'
|
||||
@@ -57,6 +58,7 @@ export function installRuntimeGitCommandSurface(
|
||||
getRuntimeGitMutationInFlight: commands.getRuntimeGitMutationInFlight.bind(commands),
|
||||
abortRuntimeGitMerge: commands.abortRuntimeGitMerge.bind(commands),
|
||||
abortRuntimeGitRebase: commands.abortRuntimeGitRebase.bind(commands),
|
||||
switchRuntimeGitBranch: commands.switchRuntimeGitBranch.bind(commands),
|
||||
checkoutRuntimeGitBranch: commands.checkoutRuntimeGitBranch.bind(commands),
|
||||
listRuntimeGitLocalBranches: commands.listRuntimeGitLocalBranches.bind(commands),
|
||||
getRuntimeGitDiff: commands.getRuntimeGitDiff.bind(commands),
|
||||
|
||||
Reference in New Issue
Block a user