summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Marcos Oltra <pablo.marcos.oltra@gmail.com>2020-02-19 10:15:30 +0100
committerTim-Philipp Müller <tim@centricular.com>2020-02-27 20:39:15 +0000
commitdfd12e3078a176a82a09d7e28b757fa4739e6747 (patch)
tree846788143c9fcdb017f9e08a5e0d5d75ed29d34b
parentbe6312bf58011d370c1a7a0bca0585fd9fa5bdd9 (diff)
Fix for fetching tags using git
-rw-r--r--cerbero/utils/git.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cerbero/utils/git.py b/cerbero/utils/git.py
index 8e78d981..6d0d64af 100644
--- a/cerbero/utils/git.py
+++ b/cerbero/utils/git.py
@@ -129,7 +129,7 @@ def fetch(git_dir, fail=True, logfile=None):
@param fail: raise an error if the command failed
@type fail: false
'''
- return shell.call('%s fetch --all' % GIT, git_dir, fail=fail, logfile=logfile)
+ return shell.call('%s fetch --all --tags' % GIT, git_dir, fail=fail, logfile=logfile)
def submodules_update(git_dir, src_dir=None, fail=True, offline=False, logfile=None):
'''