()
| 29 | // fires), so callers check exitCode. The old execFile `timeout` option becomes |
| 30 | // an AbortSignal — a slow git is killed and surfaces as a rejection/non-zero. |
| 31 | function gitOpts(): IGitStringExecutionOptions { |
| 32 | return { maxBuffer: MAX_BUFFER, signal: AbortSignal.timeout(GIT_TIMEOUT_MS) }; |
| 33 | } |
| 34 | |
| 35 | /** |
| 36 | * Wrap `git log --pretty=...` so the panel can render hash + subject + time. |