phase1: do not perform shallow fetches
authorJo-Philipp Wich <jo@mein.io>
Thu, 16 Mar 2017 18:34:11 +0000 (19:34 +0100)
committerJo-Philipp Wich <jo@mein.io>
Thu, 16 Mar 2017 18:34:11 +0000 (19:34 +0100)
We do need the full history later on.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
phase1/master.cfg

index 991039ffc1b684ed350eb9cafbc8286fbbb7c65e..04879e800f6ebfa17470714bc679dc1ccfc178b7 100644 (file)
@@ -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
        ))