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 93ecae9ca4c..5df33970cd4 100644
--- a/etc/taskcluster/decisionlib.py
+++ b/etc/taskcluster/decisionlib.py
@@ -475,7 +475,7 @@ class WindowsGenericWorkerTask(GenericWorkerTask):
type .git\\info\\sparse-checkout
"""
git += """
- git fetch {depth} %GIT_URL% %GIT_REF%
+ git fetch --no-tags {depth} %GIT_URL% %GIT_REF%
git reset --hard %GIT_SHA%
""".format(depth="--depth 30" if shallow else "")
return self \
@@ -597,7 +597,7 @@ class UnixTaskMixin(Task):
.with_early_script("""
git init repo
cd repo
- time git fetch {depth} "$GIT_URL" "$GIT_REF"
+ time git fetch --no-tags {depth} "$GIT_URL" "$GIT_REF"
time git reset --hard "$GIT_SHA"
""".format(depth="--depth 30" if shallow else ""))