Skip to main content

run_shell

Function run_shell 

Source
pub fn run_shell(cfg: &Config, config_path: &Path, binary: &Path) -> Result<()>
Expand description

Entry point for the SSH forced command. Reads SSH_ORIGINAL_COMMAND, plans the action, performs any side effects (bare-repo init, hook install), then execs the real git plumbing. Only returns if the exec itself fails.