]> git.ipfire.org Git - thirdparty/git.git/commit - compat/mingw.c
mingw: use MSYS2 quoting even when spawning shell scripts
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Thu, 19 Sep 2019 15:05:45 +0000 (17:05 +0200)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Fri, 6 Dec 2019 15:31:14 +0000 (16:31 +0100)
commit49f7a76d57c78e55f2f72e44664824f3fecb8837
tree51c56a0280b9f8d0cf4986c5e492fd1a424d5559
parente2ba3d6f6d1c2b0e7e501ae01a0e839a6f537188
mingw: use MSYS2 quoting even when spawning shell scripts

At the point where `mingw_spawn_fd()` is called, we already have a full
path to the script interpreter in that scenario, and we pass it in as
the executable to run, while the `argv` reflect what the script should
receive as command-line.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
compat/mingw.c