Fixed wrong path delimiter in exe finding
commite93856342a8db118bedd4413b8caeba5bc2bea6a
authorEvgeny Pashkin <epashkin@cognitive.ru>
Thu, 29 Sep 2011 18:32:37 +0000 (29 22:32 +0400)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Fri, 11 May 2012 22:50:00 +0000 (11 17:50 -0500)
treef1a082e86e8d9edc6f47014348eeb1a975abecd0
parent24364cf3a799b581a2c1b8fe36eb091d59b37fe8
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