fix(consistency): preserve immutable historical binding rows
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 1s
Build and Publish Multi-Context Image / build-and-push (push) Successful in 28s

Assistant: codex
Assistant-Model: gpt-6.1-sol
Assistant-Session: 01a1468b-63fa-7710-85dc-8f2e16b3ebfa
This commit is contained in:
tegwick 2026-10-17 02:30:15 +02:00
parent a25b62f75a
commit c103cbf3c8
3 changed files with 78 additions and 2 deletions

View file

@ -2767,11 +2767,12 @@ def _git_commit_writeback(
sync_env = {**_os.environ, "GIT_CUSTODIAN_SYNC": "1"}
try:
subprocess.run(
["git", "-C", repo_path, "add", str(file_path)],
["git", "-C", repo_path, "add", "--", str(file_path)],
check=True, capture_output=True, env=sync_env,
)
subprocess.run(
["git", "-C", repo_path, *_git_identity_config(), "commit", "-m", msg],
["git", "-C", repo_path, *_git_identity_config(),
"commit", "--only", "-m", msg, "--", str(file_path)],
check=True, capture_output=True, env=sync_env,
)
return True