We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8afd317 + c90d565 commit 1e7ef02Copy full SHA for 1e7ef02
1 file changed
exec_cmd.c
@@ -61,6 +61,10 @@ const char *git_extract_argv0_path(const char *argv0)
61
void git_set_argv_exec_path(const char *exec_path)
62
{
63
argv_exec_path = exec_path;
64
+ /*
65
+ * Propagate this setting to external programs.
66
+ */
67
+ setenv(EXEC_PATH_ENVIRONMENT, exec_path, 1);
68
}
69
70
0 commit comments