Hi Gary,
On Mon, 16 Jan 2017, Gary M wrote:
> Its a bit goofy. However, I believe there was some conflict with cygwin.
Yes, that would make sense. Git for Windows uses MSYS2 (a derivative of
Cygwin, think of it as "portable Cygwin") for the POSIX parts, i.e. the
Git commands that are still implemented as shell/Perl scripts.
And MSYS2 does not necessarily play well together with Cygwin: they are
too similar and want to do pretty much the same things.
> When I removed cygwin, the issue was resolved. Another oddity is an
> irregular behavior when Git for windows is not the first entry in the OS
> file path. Same utilities from other sources, including bash, interferes
> with git for windows operations. This circumstance occurs when another
> application demotes Git in the OS path, in my case HP's Fortify. Subsequent
> reinstall and upgrades without removing the old git version leaves the path
> in the demoted position.
Right.
However, the PATH should include <Git>\cmd. And if the git.exe in that
directory is used, everything should work fine: this git.exe is not
*actually* Git, it is just a simple wrapper that adjusts the environment
(including the PATH) before calling the *real* git.exe.
So I am still a bit concerned about this issue...
Ciao,
Johannes