]> git.ipfire.org Git - thirdparty/git.git/commit - submodule.h
run-command API users: use "env" not "env_array" in comments & names
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Thu, 2 Jun 2022 09:09:51 +0000 (11:09 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 2 Jun 2022 21:31:27 +0000 (14:31 -0700)
commitb3193252c4278e9039fbb896a35f84abc1fb5aac
tree5d45de5926140db39554d062207cca36d7e284d2
parent29fda24dd11e90583f3ea9ff2f90ee9acacd7792
run-command API users: use "env" not "env_array" in comments & names

Follow-up on a preceding commit which changed all references to the
"env_array" when referring to the "struct child_process" member. These
changes are all unnecessary for the compiler, but help the code's
human readers.

All the comments that referred to "env_array" have now been updated,
as well as function names and variables that had "env_array" in their
name, they now refer to "env".

In addition the "out" name for the submodule.h prototype was
inconsistent with the function definition's use of "env_array" in
submodule.c. Both of them use "env" now.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/submodule--helper.c
run-command.c
run-command.h
sequencer.c
submodule.h