diff -ru src/qgit.cpp.org src/qgit.cpp
--- src/qgit.cpp.org 2007-12-31 07:12:57.000000000 +0100
+++ src/qgit.cpp 2008-10-11 17:14:05.000000000 +0200
QCoreApplication::setOrganizationName(ORG_KEY);
QCoreApplication::setApplicationName(APP_KEY);
- /* On Windows msysgit exec directory is set up
- * during installation so to always find git.exe
+ if ( set.value(GIT_DIR_KEY).toString().isEmpty() ) {
+ // path to git is not set. Set it to our default.
+ set.setValue(GIT_DIR_KEY, "/opt/local/bin");
GIT_DIR = set.value(GIT_DIR_KEY).toString();