Fixed wrong path delimiter in exe finding
commit5868bd1869e321c27ae0a327541e11990d5657b4
authorEvgeny Pashkin <epashkin@cognitive.ru>
Thu, 29 Sep 2011 18:32:37 +0000 (29 22:32 +0400)
committerStepan Kasal <kasal@ucw.cz>
Thu, 29 May 2014 08:42:09 +0000 (29 10:42 +0200)
tree4e8093911974781f03d3c4edc112038981d7be09
parentcd0792afff73a1c9da9fd6569e8caa17c1bb1ebf
Fixed wrong path delimiter in exe finding

On Windows XP3 in git bash
git clone git@github.com:octocat/Spoon-Knife.git
cd Spoon-Knife
git gui
menu Remote\Fetch from\origin
error: cannot spawn git: No such file or directory
error: could not run rev-list

if u run
git fetch --all
it worked normal in git bash or gitgui tools

In second version CreateProcess get 'C:\Git\libexec\git-core/git.exe' in
first version - C:/Git/libexec/git-core/git.exe and not executes (unix
slashes)

after fixing C:\Git\libexec\git-core\git.exe or
C:/Git/libexec/git-core\git.exe it works normal

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