MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / gitInit

Function gitInit

__tests__/include-config.test.ts:125–129  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

123 });
124
125 const gitInit = () => {
126 execFileSync('git', ['init', '-q'], { cwd: dir });
127 execFileSync('git', ['add', '-A'], { cwd: dir });
128 execFileSync('git', ['-c', 'user.email=a@b.c', '-c', 'user.name=t', 'commit', '-qm', 'x'], { cwd: dir });
129 };
130
131 it('indexes a .gitignored source dir when include opts it in (git path) — the core fix', () => {
132 mk('app/main.ts');

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected