Merge branch 'ab/env-array'
Rename .env_array member to .env in the child_process structure. * ab/env-array: run-command API users: use "env" not "env_array" in comments & names run-command API: rename "env_array" to "env"
This commit is contained in:
@@ -22,7 +22,7 @@ static int fetch_objects(struct repository *repo,
|
||||
child.git_cmd = 1;
|
||||
child.in = -1;
|
||||
if (repo != the_repository)
|
||||
prepare_other_repo_env(&child.env_array, repo->gitdir);
|
||||
prepare_other_repo_env(&child.env, repo->gitdir);
|
||||
strvec_pushl(&child.args, "-c", "fetch.negotiationAlgorithm=noop",
|
||||
"fetch", remote_name, "--no-tags",
|
||||
"--no-write-fetch-head", "--recurse-submodules=no",
|
||||
|
||||
Reference in New Issue
Block a user