Fixed wrong path delimiter in exe finding
commitfc4d00986c4bf6c9e3cc47bcdfff25e22f9c69fa
authorEvgeny Pashkin <epashkin@cognitive.ru>
Thu, 29 Sep 2011 18:32:37 +0000 (29 22:32 +0400)
committerKarsten Blees <blees@dcon.de>
Thu, 15 Mar 2012 17:05:29 +0000 (15 18:05 +0100)
tree10441de446b72891547b9fbe3608b7d863787633
parent9daad2fe9db682363213ead365ee5978dc8e16eb
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