Fix bug in git binary fallback
Fix bug in git binary fallback

--- a/include/git/GitExe.class.php
+++ b/include/git/GitExe.class.php
@@ -57,7 +57,7 @@
 	 */
 	public function __construct($project = null)
 	{
-		$this->binary = GitPHP_Config::GetInstance()->GetValue('gitbin');
+		$binary = GitPHP_Config::GetInstance()->GetValue('gitbin');
 		if (empty($binary)) {
 			// try to pick a reasonable default
 			if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {

comments