Fixed wrong path delimiter in exe finding
commit790d88f9f22e3bf294329ef950ba73ecdf6e82d1
authorEvgeny Pashkin <epashkin@cognitive.ru>
Thu, 29 Sep 2011 18:32:37 +0000 (29 22:32 +0400)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Mon, 22 Oct 2012 12:29:20 +0000 (22 13:29 +0100)
tree02dc159f86477a0d7d8a3c6427124a4b68ceaa7b
parent8822b7e31b2ae922989956fa82ab0d1f9d1e1721
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