Skip to main content

effective_client_protocol_version_from_inputs

Function effective_client_protocol_version_from_inputs 

Source
pub fn effective_client_protocol_version_from_inputs(
    inputs: &ClientProtocolVersionInputs,
) -> u8
Expand description

Select the effective client-side protocol version.

Unknown values are treated as 2, matching the previous CLI behavior. Command-line config takes precedence over repository config, which takes precedence over GIT_TEST_PROTOCOL_VERSION; the default is 2.