mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-16 16:02:33 +03:00
When fetching tags in git, get rid of removed ones
This commit is contained in:
parent
41c522319b
commit
da2bb11580
1 changed files with 1 additions and 1 deletions
|
@ -346,7 +346,7 @@ class vcs_git(vcs):
|
|||
if subprocess.call(['git', 'fetch', 'origin'],
|
||||
cwd=self.local) != 0:
|
||||
raise VCSException("Git fetch failed")
|
||||
if subprocess.call(['git', 'fetch', '--tags', 'origin'],
|
||||
if subprocess.call(['git', 'fetch', '--prune', '--tags', 'origin'],
|
||||
cwd=self.local) != 0:
|
||||
raise VCSException("Git fetch failed")
|
||||
self.refreshed = True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue