use gix_credentials::{Program, helper, program::Kind}; use std::sync::LazyLock; static GIT: std::sync::LazyLock<&'static str> = std::sync::LazyLock::new(|| { gix_path::env::exe_invocation() .to_str() .expect("some `from_custom_definition` tests must be run where 'git' path is valid Unicode") }); static SH: LazyLock<&'static str> = LazyLock::new(|| { gix_path::env::shell() .to_str() .expect("some `from_custom_definition` tests must be run where 'sh' path is valid Unicode") }); // The basename of the default shell, used as the `command_name` operand after // `-c