summaryrefslogtreecommitdiff
path: root/t/t6001-rev-list-graft.sh
diff options
context:
space:
mode:
authorLibravatar Johannes Schindelin <johannes.schindelin@gmx.de>2019-07-16 07:03:12 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-07-16 12:47:37 -0700
commiteb7c78631445f35737d059bea23174d972cf7ca3 (patch)
tree718db47d93ad8eecfe49c7d055dde4a85f779b2f /t/t6001-rev-list-graft.sh
parentGit 2.22 (diff)
downloadtgif-eb7c78631445f35737d059bea23174d972cf7ca3.tar.xz
mingw: support spawning programs containing spaces in their names
On some older Windows versions (e.g. Windows 7), the CreateProcessW() function does not really support spaces in its first argument, lpApplicationName. But it supports passing NULL as lpApplicationName, which makes it figure out the application from the (possibly quoted) first argument of lpCommandLine. Let's use that trick (if we are certain that the first argument matches the executable's path) to support launching programs whose path contains spaces. We will abuse the test-fake-ssh.exe helper to verify that this works and does not regress. This fixes https://github.com/git-for-windows/git/issues/692 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t6001-rev-list-graft.sh')
0 files changed, 0 insertions, 0 deletions