Skip to main content

Module shell

Module shell 

Source
Expand description

The SSH forced-command shim is a git host role and relies on a Unix exec; it is compiled only on Unix. Windows/macOS builds are client-only (restore and, ahead, the control-plane commands).

Structs§

GitCommand

Enums§

Action
GitVerb

Functions§

parse_ssh_command
plan_action
resolve_repo_path
run_shell
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.