Skip to main content

explain_external_hooks

Function explain_external_hooks 

Source
pub fn explain_external_hooks(hooks: &[ConfiguredHook]) -> String
Expand description

What: The sentence that explains what to do about configured hooks. Why: The explanation is shared by the commit warning and git cli-git doctor, so both say the same ways forward.

In TS you’d write (pseudocode):

explainExternalHooks(hooks);