pub fn config_set(cwd: &Path, key: &str, value: &str) -> Result<(), GitError>Expand description
Set a single-value entry in the repository’s local config, replacing any existing values for the key.
In-process equivalent of git config <key> <value> (without --add).
Used by the LFS agent’s install / enable-debug subcommands to provide
idempotent re-installs: re-running with the same (key, value) is a
no-op, and re-running after the value changes replaces the old entry
instead of accumulating duplicates.
§Errors
Returns the same errors as config_set_many.