summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xproject.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/project.py b/project.py
index 428cab51..5a478b41 100755
--- a/project.py
+++ b/project.py
@@ -2201,6 +2201,8 @@ class Project(object):
2201 if not current_branch_only: 2201 if not current_branch_only:
2202 # Fetch whole repo 2202 # Fetch whole repo
2203 spec.append(str((u'+refs/heads/*:') + remote.ToLocal('refs/heads/*'))) 2203 spec.append(str((u'+refs/heads/*:') + remote.ToLocal('refs/heads/*')))
2204 if not (no_tags or depth):
2205 spec.append(str((u'+refs/tags/*:') + remote.ToLocal('refs/tags/*')))
2204 elif tag_name is not None: 2206 elif tag_name is not None:
2205 spec.append('tag') 2207 spec.append('tag')
2206 spec.append(tag_name) 2208 spec.append(tag_name)