summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2013-11-12 15:51:52 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2013-11-22 13:49:25 +0000
commitf00ff26658cee440f43e53f8e7c76850ba6229a4 (patch)
treec5001814b8e7f46ca942f58d40b680f8555e1788
parent9c4d3264d2ce8e3a4213915c88527da83c05aabe (diff)
downloadmorph-f00ff26658cee440f43e53f8e7c76850ba6229a4.tar.gz
GitDir: remove duplicate definition of update_remotes
-rw-r--r--morphlib/gitdir.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/morphlib/gitdir.py b/morphlib/gitdir.py
index 7ee64f36..a3e5b6fa 100644
--- a/morphlib/gitdir.py
+++ b/morphlib/gitdir.py
@@ -100,10 +100,6 @@ class GitDirectory(object):
return self._runcmd(
['git', 'cat-file', obj_type, '%s:%s' % (ref, filename)])
- def update_remotes(self): # pragma: no cover
- '''Update remotes.'''
- self._runcmd(['git', 'remote', 'update', '--prune'])
-
def update_submodules(self, app): # pragma: no cover
'''Change .gitmodules URLs, and checkout submodules.'''
morphlib.git.update_submodules(app, self.dirname)