chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41c5223
)
When fetching tags in git, get rid of removed ones
author
Daniel Martí
<mvdan@mvdan.cc>
Wed, 22 Jan 2014 09:38:34 +0000
(10:38 +0100)
committer
Daniel Martí
<mvdan@mvdan.cc>
Wed, 22 Jan 2014 09:38:34 +0000
(10:38 +0100)
fdroidserver/common.py
patch
|
blob
|
history
diff --git
a/fdroidserver/common.py
b/fdroidserver/common.py
index 0a1b295e247ee0305413559f6c1ee5b97ad2d93f..ac4ff8b92e988c904eed3536635b25b97b3de894 100644
(file)
--- a/
fdroidserver/common.py
+++ b/
fdroidserver/common.py
@@
-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