]> git.99rst.org Git - git.git/commit
run-command: refactor subprocess env preparation
authorJonathan Tan <redacted>
Thu, 17 Jun 2021 17:13:25 +0000 (10:13 -0700)
committerJunio C Hamano <redacted>
Mon, 28 Jun 2021 16:58:01 +0000 (09:58 -0700)
commitd1fa94356ddd2a81348532d49030cd08d0df6a4d
treeaa09a8f24a0f25e20d184030ee2c3dde782e9b4a
parent69bb2e1804d2f3e5ba7ef365fdfd1937b4d7ca0a
run-command: refactor subprocess env preparation

submodule.c has functionality that prepares the environment for running
a subprocess in a new repo. The lazy-fetching code (used in partial
clones) will need this in a subsequent commit, so move it to a more
central location.

Signed-off-by: Jonathan Tan <redacted>
Signed-off-by: Junio C Hamano <redacted>
Reviewed-by: Elijah Newren <redacted>
Signed-off-by: Junio C Hamano <redacted>
run-command.c
run-command.h
submodule.c
git clone https://git.99rst.org/PROJECT