MCPcopy Index your code
hub / github.com/git/git / git_set_exec_path

Function git_set_exec_path

exec-cmd.c:303–310  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

301static const char *exec_path_value;
302
303void git_set_exec_path(const char *exec_path)
304{
305 exec_path_value = exec_path;
306 /*
307 * Propagate this setting to external programs.
308 */
309 setenv(EXEC_PATH_ENVIRONMENT, exec_path, 1);
310}
311
312/* Returns the highest-priority location to look for git programs. */
313const char *git_exec_path(void)

Callers 2

setup_pathFunction · 0.85
handle_optionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected