summaryrefslogtreecommitdiffstats
path: root/promisor-remote.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-06-11 00:04:13 +0200
committerJunio C Hamano <gitster@pobox.com>2022-06-11 00:04:13 +0200
commitc21fa3bb549a7769f9d508f0a5f95c654539e1f7 (patch)
treeb6998d52e7a03a0aff33d2cdce53a23bfa553996 /promisor-remote.c
parentMerge branch 'cb/buggy-gcc-12-workaround' (diff)
parentrun-command API users: use "env" not "env_array" in comments & names (diff)
downloadgit-c21fa3bb549a7769f9d508f0a5f95c654539e1f7.tar.xz
git-c21fa3bb549a7769f9d508f0a5f95c654539e1f7.zip
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"
Diffstat (limited to 'promisor-remote.c')
-rw-r--r--promisor-remote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/promisor-remote.c b/promisor-remote.c
index 8d6695681c..5b33f88bca 100644
--- a/promisor-remote.c
+++ b/promisor-remote.c
@@ -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",