Fix find_msysgit_in_path() when PATH is in cmd folder rather than bin
commitbb2602797ecdb5e1dc67c02ea292d8f1d56b9e0b
authorjohnstevenson <john-stevenson@blueyonder.co.uk>
Sun, 3 Nov 2013 18:57:59 +0000 (3 18:57 +0000)
committerjohnstevenson <john-stevenson@blueyonder.co.uk>
Sat, 9 Nov 2013 12:34:29 +0000 (9 12:34 +0000)
treeb7cf00e5fd7c49e11cc15f303b84bad4c0648389
parent9daba91bf3dc9c9ea3185a7f4357e0621be663cf
Fix find_msysgit_in_path() when PATH is in cmd folder rather than bin

msysgit_in_path() expects the PATH to git.exe to be in "../bin/""
whereas Git for Windows uses "../cmd/". This results in the
PathToMsys registry value being set to "../cmd/git.exe" which means
that git_path() will always fail.

This only happens when the dll is outside the git-cheetah folder, as
can be the case when you are debugging.

Signed-off-by: johnstevenson <john-stevenson@blueyonder.co.uk>
explorer/dll.c