MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / r520_git

Function r520_git

tests/repro/repro_issue520.c:60–67  ·  view source on GitHub ↗

Run "git -C " with a neutral identity so the test * needs no global git config and works under cmd.exe on Windows. * Returns the git exit status. */

Source from the content-addressed store, hash-verified

58 * needs no global git config and works under cmd.exe on Windows.
59 * Returns the git exit status. */
60static int r520_git(const char *dir, const char *args) {
61 char cmd[1024];
62 snprintf(cmd, sizeof(cmd),
63 "git -C \"%s\" -c user.name=t -c user.email=t@t.io "
64 "-c init.defaultBranch=main -c commit.gpgsign=false %s",
65 dir, args);
66 return system(cmd);
67}
68
69/* ── Test ──────────────────────────────────────────────────────── */
70

Callers 1

repro_issue520.cFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected