Viewer not working on Mac OS X Leopard
A git GUI viewer built on Qt/C++
Brought to you by:
mcostalba
Whenever I start qgit I get the following error in a popup window:
An error occurred while executing command:
git --version
Git says:
Unable to start the process!
"git --version" on the commandline works.
Build environment:
gcc - i686-apple-darwin9-gcc-4.0.1
git - 1.5.6.1
qt - 4.4.0
Mac OS X 10.5.4 Intel
Logged In: YES
user_id=1286020
Originator: NO
It seems git is not in PATH
Actually I don't know Mac OS X, I will try to get help from git list if you are still interested, are you available for testing a possible patch ?
Logged In: YES
user_id=2156255
Originator: YES
If I install qgit via MacPorts (which has version 2.1 of it active) it works.
If you like I could test for you to get it working.
Marco you are right.
The problem is that git is not found in the path if you start the program from the finder.
The reason is, that most commonly the path to the git repo is only set in a bashrc file. Finder does not know about this.
There are ways to add the path in a different way but this still gives problems with other tools (launchers ala quicksilver) that do not seem to read that file either.
I think te best solution would be to add a preference entry where you can specify the path to your git binary.