diff options
| author | Junio C Hamano <gitster@pobox.com> | 2022-06-10 15:04:13 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2022-06-10 15:04:13 -0700 |
| commit | c21fa3bb549a7769f9d508f0a5f95c654539e1f7 (patch) | |
| tree | b6998d52e7a03a0aff33d2cdce53a23bfa553996 /editor.c | |
| parent | 597553e42e816b58cad857d759f11c5f53a01510 (diff) | |
| parent | b3193252c4278e9039fbb896a35f84abc1fb5aac (diff) | |
| download | git-c21fa3bb549a7769f9d508f0a5f95c654539e1f7.tar.xz | |
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 'editor.c')
| -rw-r--r-- | editor.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -80,7 +80,7 @@ static int launch_specified_editor(const char *editor, const char *path, strvec_pushl(&p.args, editor, realpath.buf, NULL); if (env) - strvec_pushv(&p.env_array, (const char **)env); + strvec_pushv(&p.env, (const char **)env); p.use_shell = 1; p.trace2_child_class = "editor"; if (start_command(&p) < 0) { |
