fix(consistency): preserve immutable historical binding rows
Assistant: codex Assistant-Model: gpt-6.1-sol Assistant-Session: 01a1468b-63fa-7710-85dc-8f2e16b3ebfa
This commit is contained in:
parent
a25b62f75a
commit
c103cbf3c8
3 changed files with 78 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue