Skip to main content

set_spawn_hook

Function set_spawn_hook 

Source
pub fn set_spawn_hook(hook: ChurnSpawnHook)
Expand description

Install a spawn-hook that wraps the git log subprocess. Idempotent; subsequent calls are no-ops. Called once from the CLI’s main() to route through the signal registry; defaults to Command::output when not set so the function-pointer indirection stays free for tests and embedders that don’t care.