summaryrefslogtreecommitdiff
path: root/zuul/lib/cloner.py
diff options
context:
space:
mode:
Diffstat (limited to 'zuul/lib/cloner.py')
-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 89ebada0e..1507fbd46 100644
--- a/zuul/lib/cloner.py
+++ b/zuul/lib/cloner.py
@@ -126,7 +126,7 @@ class Cloner(object):
repo = self.cloneUpstream(project, dest)
- repo.update()
+ repo.reset()
# Ensure that we don't have stale remotes around
repo.prune()