We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5b841d6 + c90d565 commit 1f398eeCopy full SHA for 1f398ee
1 file changed
exec_cmd.c
@@ -25,6 +25,10 @@ void git_set_argv0_path(const char *path)
25
void git_set_argv_exec_path(const char *exec_path)
26
{
27
argv_exec_path = exec_path;
28
+ /*
29
+ * Propagate this setting to external programs.
30
+ */
31
+ setenv(EXEC_PATH_ENVIRONMENT, exec_path, 1);
32
}
33
34
0 commit comments