pub fn install_with(chain: bool) -> Result<()>Expand description
Install the hooks, optionally forwarding to the hooks directory already configured.
chain is the answer to the single-slot problem. Git has one core.hooksPath and no
way to list two, but nothing says the directory in that slot has to hold the final
hooks: ours can register the repository and then exec the hook of the same name from
the directory it displaced. The other tool keeps working, we get our registration, and
devp hook uninstall puts the original value back.