Fix full clone + non-mainline tag

This commit is contained in:
Anthony Sottile 2019-04-16 10:30:05 -07:00
parent b33f2c40d8
commit eab24f3e48
2 changed files with 16 additions and 1 deletions

View file

@ -138,7 +138,7 @@ class Store(object):
def _complete_clone(self, ref, git_cmd):
"""Perform a complete clone of a repository and its submodules """
git_cmd('fetch', 'origin')
git_cmd('fetch', 'origin', '--tags')
git_cmd('checkout', ref)
git_cmd('submodule', 'update', '--init', '--recursive')