diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2019-11-16 14:26:37 +0100 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2019-11-16 14:26:37 +0100 |
commit | 657fead0cea272cc955a6f8eb427db4952beab73 (patch) | |
tree | 6e9da5ba783c3c9094fc69a8798362e8c59d46be /etc/taskcluster/decisionlib.py | |
parent | 188dd9e7abce4956ec7ac053588a938cd10580ed (diff) | |
download | servo-657fead0cea272cc955a6f8eb427db4952beab73.tar.gz servo-657fead0cea272cc955a6f8eb427db4952beab73.zip |
Don’t fetch git tags
Diffstat (limited to 'etc/taskcluster/decisionlib.py')
-rw-r--r-- | etc/taskcluster/decisionlib.py | 4 |
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 "")) |