mirror of
https://github.com/alibaba/open-code-review.git
synced 2026-07-19 14:14:07 +00:00
Introduce gitcmd.Runner with channel-based semaphore to cap concurrent git subprocesses (default 16, configurable via --max-git-procs). Route all tool-layer and diff-layer git calls through the shared runner. Also fix diff.Provider.runGit lacking context.Context — now the full chain (GetDiff → MergeBase → ParseDiffText → finalizeDiff) propagates the caller's context for proper cancellation and timeout support. |
||
|---|---|---|
| .. | ||
| config_cmd.go | ||
| flags.go | ||
| git.go | ||
| llm_cmd.go | ||
| main.go | ||
| output.go | ||
| review_cmd.go | ||
| rules_cmd.go | ||
| version.go | ||
| viewer_cmd.go | ||