Skip to main content

Module RunGit

Module RunGit 

Source
Expand description

Spawns git, registers the PID, awaits output, returns (exit_code, stdout, stderr).

Constants§

GIT_EXEC_TIMEOUT 🔒
Upper-bound wall time for any single git invocation. Generous enough that legitimately slow operations (large monorepo clones with credential prompts, file-share-backed working copies, full-repo log walks) finish well within budget, but tight enough that a hung subprocess - stalled on a credential prompt with no TTY, a stuck index lock, or a network mount that has gone unresponsive - releases the Mountain effect slot before the extension host’s own watchdog fires.

Functions§

Fn