* Execute git command with error handling * Uses centralized subprocess runner to respect user-configured env vars (e.g., custom PATH)
(args: string[], cwd?: string)
| 414 | * Uses centralized subprocess runner to respect user-configured env vars (e.g., custom PATH) |
| 415 | */ |
| 416 | async function execGit(args: string[], cwd?: string): Promise<{ stdout: string; stderr: string; success: boolean }> { |
| 417 | return execCommand("git", args, { cwd, maxBuffer: 50 * 1024 * 1024 }) |
| 418 | } |
| 419 | |
| 420 | function parseNameStatusOutput(stdout: string): ChangedFileInfo[] { |
| 421 | const files: ChangedFileInfo[] = [] |
no test coverage detected