Skip to main content

combine_config_parameters

Function combine_config_parameters 

Source
pub fn combine_config_parameters(
    inherited: &str,
    overrides: &[String],
) -> Result<ConfigParameters, HookPlanError>
Expand description

What: Join the inherited parameters and the quoted global -c values. Why: Git hands hooks the inherited entries first, then the command-line options; no entry means the variable is absent.

In TS you’d write (pseudocode):

combineConfigParameters({ inherited, overrides });