diff options
-rwxr-xr-x | project.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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) |