summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zuul/lib/cloner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/zuul/lib/cloner.py b/zuul/lib/cloner.py
index 2b35e41a3..67e238a8a 100644
--- a/zuul/lib/cloner.py
+++ b/zuul/lib/cloner.py
@@ -125,7 +125,7 @@ class Cloner(object):
repo = self.cloneUpstream(project, dest)
- repo.update()
+ repo.reset()
# Ensure that we don't have stale remotes around
repo.prune()