pub async fn apply_write_config(
git_dir: &GitDir,
cwd: &Path,
) -> Result<(), GitError>Expand description
Apply the JSS-parity config to a repo on every write request.
Errors from the underlying git config invocations are logged
and swallowed — this matches JSS’s try { execSync … } catch (e) { } behaviour at lines 147-149. Rationale: config mutators
tripping (e.g. permissions) must not block the main CGI from
attempting the push; the CGI will itself surface a proper error
if the push truly can’t proceed.