diff --git a/project.py b/project.py index b8147424..77a4f571 100755 --- a/project.py +++ b/project.py @@ -2187,7 +2187,7 @@ class Project(object): cmd.append(bundle_dst) for f in remote.fetch: cmd.append(str(f)) - cmd.append('refs/tags/*:refs/tags/*') + cmd.append('+refs/tags/*:refs/tags/*') ok = GitCommand(self, cmd, bare=True).Wait() == 0 if os.path.exists(bundle_dst): diff --git a/repo b/repo index 998731c6..7e7f13fa 100755 --- a/repo +++ b/repo @@ -536,7 +536,7 @@ def _Fetch(url, local, src, quiet): err = None cmd.append(src) cmd.append('+refs/heads/*:refs/remotes/origin/*') - cmd.append('refs/tags/*:refs/tags/*') + cmd.append('+refs/tags/*:refs/tags/*') proc = subprocess.Popen(cmd, cwd=local, stderr=err) if err: