Fixed wrong path delimiter in exe finding
commit19583437bf73c07308c6c84f7dbb63abe3b4cd27
authorEvgeny Pashkin <epashkin@cognitive.ru>
Thu, 29 Sep 2011 18:32:37 +0000 (29 22:32 +0400)
committerKarsten Blees <blees@dcon.de>
Sat, 16 Aug 2014 01:02:36 +0000 (16 03:02 +0200)
treed607b2ee45cb033f22d1bee28bb5af676ce07fa8
parent20ba112c953c921d9f39771417f343007ec045a2
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