Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-06-11 01:04:13 +0300
committerJunio C Hamano <gitster@pobox.com>2022-06-11 01:04:13 +0300
commitc21fa3bb549a7769f9d508f0a5f95c654539e1f7 (patch)
treeb6998d52e7a03a0aff33d2cdce53a23bfa553996 /trailer.c
parent597553e42e816b58cad857d759f11c5f53a01510 (diff)
parentb3193252c4278e9039fbb896a35f84abc1fb5aac (diff)
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 'trailer.c')
-rw-r--r--trailer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trailer.c b/trailer.c
index 926a3729df..d419c20735 100644
--- a/trailer.c
+++ b/trailer.c
@@ -236,7 +236,7 @@ static char *apply_command(struct conf_info *conf, const char *arg)
strbuf_replace(&cmd, TRAILER_ARG_STRING, arg);
strvec_push(&cp.args, cmd.buf);
}
- strvec_pushv(&cp.env_array, (const char **)local_repo_env);
+ strvec_pushv(&cp.env, (const char **)local_repo_env);
cp.no_stdin = 1;
cp.use_shell = 1;