commit | d503352b14b45f80c0fb1f6f49637ad0fe732112 | [log] [tgz] |
---|---|---|
author | David Pursehouse <david.pursehouse@sonymobile.com> | Wed May 08 18:40:57 2013 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Wed May 08 18:40:57 2013 +0000 |
tree | 0045e8aded2f13a6caf169b77db63e2bf5441835 | |
parent | b5267f9ad2d0d7872610c8989f11471187fd92d2 [diff] | |
parent | 2f992cba3238ff9a849c02fbf9a423e234deab16 [diff] |
Merge "Repo should not fetch tags for shallow projects"
diff --git a/project.py b/project.py index feac5c0..3ff306f 100644 --- a/project.py +++ b/project.py
@@ -1661,7 +1661,9 @@ if not current_branch_only: # Fetch whole repo - if no_tags: + # If using depth then we should not get all the tags since they may + # be outside of the depth. + if no_tags or depth: cmd.append('--no-tags') else: cmd.append('--tags')