Skip to main content

git_config_prepend

Function git_config_prepend 

Source
pub fn git_config_prepend(
    get: &impl Fn(&str) -> Option<String>,
    key: &str,
    value: &str,
) -> Vec<(String, String)>
Expand description

The variables that put key = value before every GIT_CONFIG_* entry get sees, the others renumbered after it: for a setting git reads in order, where an empty value clears the list built before it.