From 142ea644a39b667718273ce0eddbee14feb86ac5 Mon Sep 17 00:00:00 2001
From: hahn <axel.hahn@iml.unibe.ch>
Date: Wed, 3 Aug 2022 09:04:59 +0200
Subject: [PATCH] remove a git fetch for older git versions

---
 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 b87e8c51..24c96d16 100644
--- a/public_html/deployment/classes/vcs.git.class.php
+++ b/public_html/deployment/classes/vcs.git.class.php
@@ -431,6 +431,7 @@ class vcs implements iVcs {
 
             // TODO: git 1.9 does needs only the line with --tags
             $sGitCmd.=' ( '
+                    // . 'git fetch --update-head-ok --tags --depth 1 2>&1 ; ' // 1.5 s
                     . 'git fetch --update-head-ok --tags --depth 1 2>&1 ; ' // 1.5 s
                     //. 'git fetch --update-head-ok --depth 1 2>&1 '          // 1.5 s
                     . ') && ';
-- 
GitLab