diff options
author | Karsten Blees <blees@dcon.de> | 2011-11-25 21:33:17 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-06-16 10:56:47 -0700 |
commit | 3e66e47b1b1baef859be79a12091fdbdd82492a8 (patch) | |
tree | 96900a76dcc1bb65e49a84f4f46bceb3fd0318ac /branch.h | |
parent | Win32: let mingw_execve() return an int (diff) | |
download | tgif-3e66e47b1b1baef859be79a12091fdbdd82492a8.tar.xz |
Win32: simplify internal mingw_spawn* APIs
The only public spawn function that needs to tweak the environment is
mingw_spawnvpe (called from start_command). Nevertheless, all internal
spawn* functions take an env parameter and needlessly pass the global
char **environ around. Remove the env parameter where it's not needed.
This removes the internal mingw_execve abstraction, which is no longer
needed.
Signed-off-by: Karsten Blees <blees@dcon.de>
Signed-off-by: Stepan Kasal <kasal@ucw.cz>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'branch.h')
0 files changed, 0 insertions, 0 deletions