Commit Graph

1 Commits

Author SHA1 Message Date
alt-glitch
7858355fc0 refactor(utils): one git runner in utils/git.py, shared by five callers
Five git runners in tools/ and hermes_cli/ each spelled out the same
subprocess.run call: output captured as UTF-8 text with errors replaced,
stdin closed, no raise on a non-zero exit, and the caller's cwd, env and
timeout. utils/git.py now holds that call as run_git, and the five runners
call it. Each runner keeps its own argv hardening, environment, return
shape and error handling, so behaviour does not change. worktree_gc's
private _run lost its only caller and is removed.
2026-11-30 22:38:47 +05:30