acp_thread: If available, use git bash over powershell in terminal tool (#39466)

Release Notes:

- When git bash is installed, agents will now use that over powershell
when invoking terminal commands
This commit is contained in:
Lukas Wirth
2025-10-06 13:39:19 +02:00
committed by GitHub
parent d1e2a1f20c
commit 4bd7ef8bad
7 changed files with 65 additions and 19 deletions
+3 -1
View File
@@ -999,7 +999,9 @@ pub fn default<D: Default>() -> D {
Default::default()
}
pub use self::shell::{get_default_system_shell, get_system_shell};
pub use self::shell::{
get_default_system_shell, get_default_system_shell_preferring_bash, get_system_shell,
};
#[derive(Debug)]
pub enum ConnectionResult<O> {