MCPcopy
hub / github.com/openai/codex-plugin-cc / git

Function git

plugins/codex/scripts/lib/git.mjs:11–13  ·  view source on GitHub ↗
(cwd, args, options = {})

Source from the content-addressed store, hash-verified

9const DEFAULT_INLINE_DIFF_MAX_BYTES = 256 * 1024;
10
11function git(cwd, args, options = {}) {
12 return runCommand("git", args, { cwd, ...options });
13}
14
15function gitChecked(cwd, args, options = {}) {
16 return runCommandChecked("git", args, { cwd, ...options });

Callers 3

measureGitOutputBytesFunction · 0.85
ensureGitRepositoryFunction · 0.85
detectDefaultBranchFunction · 0.85

Calls 1

runCommandFunction · 0.90

Tested by

no test coverage detected