pub fn run_hook_install() -> Result<()>Expand description
Install the Sparrow pre-commit hook into the current git repository.
Copies hooks/pre-commit to .git/hooks/pre-commit and makes it
executable. If a hook already exists, it is backed up first.