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

Function git_init

tests/test_artifact.c:713–718  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

711}
712
713static void git_init(const char *repo) {
714 runf("git -C \"%s\" init -q", repo);
715 runf("git -C \"%s\" config user.email t@t.com", repo);
716 runf("git -C \"%s\" config user.name t", repo);
717 runf("git -C \"%s\" config commit.gpgsign false", repo);
718}
719
720/* Portable local mtime_ns for assertions (mirrors artifact.c's art_stat_mtime_ns
721 * and pipeline_incremental.c's stat_mtime_ns — all three must agree or a

Callers 2

test_artifact.cFile · 0.85

Calls 1

runfFunction · 0.85

Tested by

no test coverage detected