From 964880f8ac0af4472d479d03560955ba6f83bbcb Mon Sep 17 00:00:00 2001
From: "Hahn Axel (hahn)" <axel.hahn@unibe.ch>
Date: Fri, 6 Sep 2024 09:26:51 +0200
Subject: [PATCH] fix PHP error while reloading branches

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

diff --git a/public_html/deployment/classes/vcs.git.class.php b/public_html/deployment/classes/vcs.git.class.php
index 0980c11c..dc16c3dd 100644
--- a/public_html/deployment/classes/vcs.git.class.php
+++ b/public_html/deployment/classes/vcs.git.class.php
@@ -453,6 +453,7 @@ class vcs implements iVcs
                 ||
                 isset($this->_aRemoteBranches[$sBranch]) && !$sVerifyRevision
             )
+            && isset($this->_aRemoteBranches[$sBranch]['message'])
         ) {
             // it is up to date - doing nothing
             $this->log(__FUNCTION__ . " return cached data");
-- 
GitLab