aboutsummaryrefslogtreecommitdiffstats
path: root/etc/taskcluster/decisionlib.py
diff options
context:
space:
mode:
Diffstat (limited to 'etc/taskcluster/decisionlib.py')
-rw-r--r--etc/taskcluster/decisionlib.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/taskcluster/decisionlib.py b/etc/taskcluster/decisionlib.py
index 6b9d69f89d4..685634d94e5 100644
--- a/etc/taskcluster/decisionlib.py
+++ b/etc/taskcluster/decisionlib.py
@@ -482,7 +482,7 @@ class WindowsGenericWorkerTask(GenericWorkerTask):
git += """
git fetch {depth} %GIT_URL% %GIT_REF%
git reset --hard %GIT_SHA%
- """.format(depth="--depth 1" if shallow else "")
+ """.format(depth="--depth 100" if shallow else "")
return self \
.with_git() \
.with_script(git) \
@@ -604,7 +604,7 @@ class UnixTaskMixin(Task):
cd repo
git fetch {depth} "$GIT_URL" "$GIT_REF"
git reset --hard "$GIT_SHA"
- """.format(depth="--depth 1" if shallow else ""))
+ """.format(depth="--depth 100" if shallow else ""))
def with_curl_script(self, url, file_path):
self.curl_scripts_count += 1