From 35639ecde5f3852f900262461aea18808c7756ca Mon Sep 17 00:00:00 2001
From: hahn <axel.hahn@iml.unibe.ch>
Date: Fri, 23 Mar 2018 12:19:28 +0100
Subject: [PATCH] #1797 - non cached view of the current branch on start of
 build

---
 public_html/deployment/classes/vcs.git.class.php | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/public_html/deployment/classes/vcs.git.class.php b/public_html/deployment/classes/vcs.git.class.php
index bab4d552..c994e342 100644
--- a/public_html/deployment/classes/vcs.git.class.php
+++ b/public_html/deployment/classes/vcs.git.class.php
@@ -205,10 +205,6 @@ class vcs implements iVcs {
         return true;
     }
     
-    private function _extend_brancharray($a){
-        
-    }
-    
     /**
      * read remote repository and get an array with names and revisions of 
      * all branches and tags
@@ -276,7 +272,7 @@ class vcs implements iVcs {
 
                         $sMessage = $this->getCommitmessageByBranch($sName, $sRevision);
                         $aReturn[$sBranchKey] = array(
-                            'debug'=> $aTmp,
+                            // 'debug'=> $aTmp,
                             'revision' => $sRevision,
                             'name' => $sName,
                             'label' => $sType . ': ' . $sBranch,
-- 
GitLab