I need help getting git extensions to run with msysgit. I have had bad luck with extensions git-tfs and git-fetchall, in both cases it is the same problem. The addon will require a file to be placed where git can find it (git-tfs.exe and git-fetchall.sh). I understand this to mean the files need to be in a directory that is in the ‘PATH’ environment variable.
In both cases I get stuck at this point:
$ git-diffall
bash: git-diffall: command not found
or:
$ git-tfs
bash: git-tfs: command not found
When I run echo %PATH% from a regular command shell, it shows my path variable includes the directories where git-diffall and git-tfs are. How can I debug this, or am I missing something? Is there a way within msysgit to verify the command search path is what I expect?
Ok, I found the disconnect. It was elusive until I started running “echo $PATH” from the shell (rather then echo %PATH% from the windows command shell, which had a different result).
Two problems:
When I configured the environment variables, I originally had a ‘\’ at the end of the path. This seemed to caused echo $PATH to show invalid pathnames like ‘/c:/directory’ instead of ‘/c/directory/.
A reboot was necessary for changes to the system environment variables made through the windows UI to be reflected in the msysgit/bash/git shell.