Skip to content
Snippets Groups Projects
Commit b6d719d1 authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

Git: add --force on git fetch

parent 0faa3595
No related branches found
No related tags found
1 merge request!78Simple task/7706 ci server rollout manager tag 4,111 hat null werte im ci json
...@@ -535,9 +535,10 @@ class vcs implements iVcs ...@@ -535,9 +535,10 @@ class vcs implements iVcs
} }
// TODO: git 1.9 does needs only the line with --tags // TODO: git 1.9 does needs only the line with --tags
// #7706 add --force
$sGitCmd .= ' ( ' $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 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 //. 'git fetch --update-head-ok --depth 1 2>&1 ' // 1.5 s
. ') && '; . ') && ';
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment