MCPcopy Create free account
hub / github.com/git/git / ut_005exec

Function ut_005exec

t/helper/test-trace2.c:176–185  ·  view source on GitHub ↗

* Exec a git command. This may either create a child process (Windows) * or replace the existing process. * test-tool trace2 005exec * * For example: * test-tool trace2 005exec version * * Test harness can confirm (on Windows): * [] the "name" field in the "cmd_name" trace2 event. * [] that the outer process has a single component SID (or depth "d0" in * the PERF s

Source from the content-addressed store, hash-verified

174 * [] TODO talk about process replacement and how it affects SID.
175 */
176static int ut_005exec(int argc, const char **argv)
177{
178 int result;
179
180 if (!argc)
181 return 0;
182
183 result = execv_git_cmd(argv);
184 return result;
185}
186
187static int ut_006data(int argc, const char **argv)
188{

Callers

nothing calls this directly

Calls 1

execv_git_cmdFunction · 0.85

Tested by

no test coverage detected