From: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com>
To: git@vger.kernel.org
Cc: "Junio C Hamano" <gitster@pobox.com>, "Jeff King" <peff@peff.net>,
"Enzo Matsumiya" <ematsumiya@suse.de>,
"Eric Sunshine" <sunshine@sunshineco.com>,
"Ævar Arnfjörð Bjarmason" <avarab@gmail.com>
Subject: [PATCH v2 0/4] run-command.h: rename "env_array" to "env"
Date: Fri, 20 May 2022 09:24:38 +0200 [thread overview]
Message-ID: <cover-v2-0.4-00000000000-20220520T072122Z-avarab@gmail.com> (raw)
In-Reply-To: <cover-0.3-00000000000-20220406T104134Z-avarab@gmail.com>
Follow-up 32ec72c3e1 (Merge branch 'ab/run-command', 2021-12-15) and
rename the "env_array" member to simply "env" in the "struct
child_process".
Changes since v1:
* Added a commit to remove the coccinelle rule after its application,
as suggested by Junio in
https://lore.kernel.org/git/xmqqzgjdkxon.fsf@gitster.g/
* Minor commit rewording for 4/4 to adjust for that new 3/4.
Ævar Arnfjörð Bjarmason (4):
cocci: add a rename of "struct child_process"'s "env_array" to "env"
run-command API: rename "env_array" to "env"
cocci: remove env_array -> env migration
run-command API users: use "env" not "env_array" in comments & names
add-patch.c | 2 +-
branch.c | 2 +-
builtin/difftool.c | 6 ++---
builtin/receive-pack.c | 32 +++++++++++++--------------
builtin/stash.c | 16 +++++++-------
builtin/submodule--helper.c | 44 ++++++++++++++++++-------------------
builtin/worktree.c | 8 +++----
connect.c | 9 ++++----
connected.c | 2 +-
daemon.c | 14 ++++++------
editor.c | 2 +-
hook.c | 2 +-
http-backend.c | 4 ++--
object-file.c | 2 +-
pager.c | 4 ++--
promisor-remote.c | 2 +-
run-command.c | 19 ++++++++--------
run-command.h | 14 ++++++------
sequencer.c | 18 +++++++--------
submodule.c | 38 ++++++++++++++++----------------
submodule.h | 4 ++--
t/helper/test-run-command.c | 2 +-
trailer.c | 2 +-
transport-helper.c | 2 +-
wt-status.c | 2 +-
25 files changed, 127 insertions(+), 125 deletions(-)
Range-diff against v1:
1: b943ed5d5b7 = 1: e3f33fce566 cocci: add a rename of "struct child_process"'s "env_array" to "env"
2: 51063a31b16 = 2: 5aeb6ec9117 run-command API: rename "env_array" to "env"
-: ----------- > 3: ca09da570ef cocci: remove env_array -> env migration
3: 8af76f39b9f ! 4: 5419f839c74 run-command API users: use "env" not "env_array" in comments & names
@@ Metadata
## Commit message ##
run-command API users: use "env" not "env_array" in comments & names
- Follow-up on the preceding commit which changed all references to the
+ 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.
--
2.36.1.957.g2c13267e09b
next prev parent reply other threads:[~2022-05-20 7:24 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-16 2:32 What's cooking in git.git (Dec 2021, #04; Wed, 15) Junio C Hamano
2021-12-16 11:51 ` ab/run-command (was: What's cooking in git.git (Dec 2021, #04; Wed, 15)) Ævar Arnfjörð Bjarmason
2021-12-16 15:31 ` Jeff King
2021-12-16 15:38 ` Ævar Arnfjörð Bjarmason
2021-12-16 19:11 ` ab/run-command Junio C Hamano
2022-04-06 10:42 ` [PATCH 0/3] run-command.h: rename "env_array" to "env" Ævar Arnfjörð Bjarmason
2022-04-06 10:42 ` [PATCH 1/3] cocci: add a rename of "struct child_process"'s " Ævar Arnfjörð Bjarmason
2022-04-06 10:42 ` [PATCH 2/3] run-command API: rename " Ævar Arnfjörð Bjarmason
2022-04-06 10:42 ` [PATCH 3/3] run-command API users: use "env" not "env_array" in comments & names Ævar Arnfjörð Bjarmason
2022-04-07 12:09 ` [PATCH 0/3] run-command.h: rename "env_array" to "env" Johannes Schindelin
2022-04-07 16:48 ` Junio C Hamano
2022-04-07 17:52 ` Junio C Hamano
2022-05-20 7:24 ` Ævar Arnfjörð Bjarmason [this message]
2022-05-20 7:24 ` [PATCH v2 1/4] cocci: add a rename of "struct child_process"'s " Ævar Arnfjörð Bjarmason
2022-05-20 7:24 ` [PATCH v2 2/4] run-command API: rename " Ævar Arnfjörð Bjarmason
2022-05-20 7:24 ` [PATCH v2 3/4] cocci: remove env_array -> env migration Ævar Arnfjörð Bjarmason
2022-05-20 7:24 ` [PATCH v2 4/4] run-command API users: use "env" not "env_array" in comments & names Ævar Arnfjörð Bjarmason
2022-05-20 16:27 ` [PATCH v2 0/4] run-command.h: rename "env_array" to "env" Junio C Hamano
2022-05-21 11:09 ` Ævar Arnfjörð Bjarmason
2022-06-02 9:09 ` [PATCH v3 0/2] " Ævar Arnfjörð Bjarmason
2022-06-02 9:09 ` [PATCH v3 1/2] run-command API: " Ævar Arnfjörð Bjarmason
2022-06-03 0:37 ` Junio C Hamano
2022-06-02 9:09 ` [PATCH v3 2/2] run-command API users: use "env" not "env_array" in comments & names Ævar Arnfjörð Bjarmason
2021-12-16 23:46 ` ab/make-dependency (was: What's cooking in git.git (Dec 2021, #04; Wed, 15)) Ævar Arnfjörð Bjarmason
2021-12-21 1:34 ` What's cooking in git.git (Dec 2021, #04; Wed, 15) Aleen 徐沛文
2021-12-21 7:30 ` Christian Couder
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover-v2-0.4-00000000000-20220520T072122Z-avarab@gmail.com \
--to=avarab@gmail.com \
--cc=ematsumiya@suse.de \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=peff@peff.net \
--cc=sunshine@sunshineco.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).