diff --git a/public_html/deployment/classes/vcs.git.class.php b/public_html/deployment/classes/vcs.git.class.php index 00b5020ee8b57d9be548484cb9f3b8d788c3618d..9302e88fd39277ae5ef36697fcde4bcc332a5bc9 100644 --- a/public_html/deployment/classes/vcs.git.class.php +++ b/public_html/deployment/classes/vcs.git.class.php @@ -535,9 +535,10 @@ class vcs implements iVcs } // TODO: git 1.9 does needs only the line with --tags + // #7706 add --force $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 --tags --depth 1 --force 2>&1 ; ' // 1.5 s //. 'git fetch --update-head-ok --depth 1 2>&1 ' // 1.5 s . ') && '; }