Skip to content

feat: configure git subprocess timeout via env var#50

Merged
benner merged 1 commit into
mainfrom
feat/git-timeout-env-var
Apr 25, 2026
Merged

feat: configure git subprocess timeout via env var#50
benner merged 1 commit into
mainfrom
feat/git-timeout-env-var

Conversation

@benner
Copy link
Copy Markdown
Owner

@benner benner commented Apr 25, 2026

COMMIT_GUARD_GIT_TIMEOUT overrides the default 10s timeout applied to
all git subprocess calls. Timeout is an infrastructure concern (slow
network mounts, large repos) rather than project policy, so an env var
fits better than a CLI flag or config key.

COMMIT_GUARD_GIT_TIMEOUT overrides the default 10s timeout applied to
all git subprocess calls. Timeout is an infrastructure concern (slow
network mounts, large repos) rather than project policy, so an env var
fits better than a CLI flag or config key.

Signed-off-by: Nerijus Bendžiūnas <nerijus.bendziunas@gmail.com>
@benner benner marked this pull request as ready for review April 25, 2026 16:56
@benner benner merged commit 47fc0f0 into main Apr 25, 2026
4 checks passed
@benner benner deleted the feat/git-timeout-env-var branch April 25, 2026 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant