From e60015e773dc97685d7e61a4c9315ed6eafb6d5a Mon Sep 17 00:00:00 2001
From: hahn <axel.hahn@iml.unibe.ch>
Date: Tue, 27 Feb 2018 17:13:32 +0100
Subject: [PATCH] task#1847 - smail fixes: - getRevision writes git output to
 log (requires enabled debugging to see it) - added check for tmpdir

---
 public_html/deployment/classes/vcs.git.class.php | 2 --
 1 file changed, 2 deletions(-)

diff --git a/public_html/deployment/classes/vcs.git.class.php b/public_html/deployment/classes/vcs.git.class.php
index 42e5a91f..a06fa59d 100644
--- a/public_html/deployment/classes/vcs.git.class.php
+++ b/public_html/deployment/classes/vcs.git.class.php
@@ -261,8 +261,6 @@ class vcs implements iVcs {
                 }
                 $this->_aRemoteBranches = $aReturn;
                 $oCache->write($aReturn, $iTtl);
-            } else {
-            $this->log(__FUNCTION__." FAILD with rc=$iRc $sGitCmd", 'error');
             }
         } else {
             $this->_aRemoteBranches = $oCache->read();
-- 
GitLab