Files
git/builtin
Eric Sunshine ae2a38271f worktree: elucidate environment variables intended for child processes
Take advantage of 'struct child_process.env' to make it obvious that
environment variables set by add_worktree() are intended specifically
for sub-commands it invokes to operate in the new worktree.

We assign a local 'struct argv_array' to child_process.env, rather than
utilizing the child_process.env_array 'struct argv_array', because
future patches will make add_worktree() invoke additional sub-commands,
and it's simpler to populate the environment array just once, whereas
child_process.env_array gets cleared after each invocation, thus would
require re-population for each sub-command.

Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2015-07-20 11:29:51 -07:00
..
2014-07-16 11:10:11 -07:00
2014-10-20 12:23:48 -07:00
2014-10-20 12:23:48 -07:00
2014-01-17 12:21:20 -08:00
2014-10-10 16:02:26 -07:00
2014-10-21 13:28:10 -07:00
2014-09-02 12:00:30 -07:00
2014-10-29 10:07:56 -07:00
2014-04-30 10:30:02 -07:00
2014-10-08 13:05:25 -07:00