[buildbot] phase1: do not perform shallow fetches
LEDE Commits
lede-commits at lists.infradead.org
Thu Mar 16 11:34:16 PDT 2017
jow pushed a commit to buildbot.git, branch master:
https://git.lede-project.org/da4174f4bd4d3af7e10f3d9f3fcd5ac713b33b09
commit da4174f4bd4d3af7e10f3d9f3fcd5ac713b33b09
Author: Jo-Philipp Wich <jo at mein.io>
AuthorDate: Thu Mar 16 19:34:11 2017 +0100
phase1: do not perform shallow fetches
We do need the full history later on.
Signed-off-by: Jo-Philipp Wich <jo at mein.io>
---
phase1/master.cfg | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
))
More information about the lede-commits
mailing list