From: Jo-Philipp Wich Date: Thu, 16 Mar 2017 18:34:11 +0000 (+0100) Subject: phase1: do not perform shallow fetches X-Git-Tag: v1~172 X-Git-Url: http://git.openwrt.org/?p=buildbot.git;a=commitdiff_plain;h=da4174f4bd4d3af7e10f3d9f3fcd5ac713b33b09 phase1: do not perform shallow fetches We do need the full history later on. Signed-off-by: Jo-Philipp Wich --- diff --git a/phase1/master.cfg b/phase1/master.cfg index 991039f..04879e8 100644 --- a/phase1/master.cfg +++ b/phase1/master.cfg @@ -400,7 +400,7 @@ for target in targets: factory.addStep(ShellCommand( name = "switchbranch", description = "Checking out Git branch", - command = "if [ -d .git ]; then git fetch --depth=1 && git checkout '%s'; else exit 0; fi" % repo_branch, + command = "if [ -d .git ]; then git fetch && git checkout '%s'; else exit 0; fi" % repo_branch, haltOnFailure = True, doStepIf = IsNoTaggingRequested ))