aboutsummaryrefslogtreecommitdiffstats
path: root/branch.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-06-10 15:04:13 -0700
committerJunio C Hamano <gitster@pobox.com>2022-06-10 15:04:13 -0700
commitc21fa3bb549a7769f9d508f0a5f95c654539e1f7 (patch)
treeb6998d52e7a03a0aff33d2cdce53a23bfa553996 /branch.c
parent597553e42e816b58cad857d759f11c5f53a01510 (diff)
parentb3193252c4278e9039fbb896a35f84abc1fb5aac (diff)
downloadgit-c21fa3bb549a7769f9d508f0a5f95c654539e1f7.tar.gz
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 'branch.c')
-rw-r--r--branch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/branch.c b/branch.c
index 2d6569b0c6..4c8523c66a 100644
--- a/branch.c
+++ b/branch.c
@@ -587,7 +587,7 @@ static int submodule_create_branch(struct repository *r,
child.err = -1;
child.stdout_to_stderr = 1;
- prepare_other_repo_env(&child.env_array, r->gitdir);
+ prepare_other_repo_env(&child.env, r->gitdir);
/*
* submodule_create_branch() is indirectly invoked by "git
* branch", but we cannot invoke "git branch" in the child