aboutsummaryrefslogtreecommitdiffhomepage
path: root/gbp
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2011-01-13 21:12:58 +0100
committerGuido Günther <agx@sigxcpu.org>2011-01-13 21:36:45 +0100
commitacaa01fd5836b8a43b90a73269b3a067e3bc215e (patch)
tree5a0d5cf1c3c8ebbfb50e149b8576d1bb9ab103b4 /gbp
parentebc67f3a739c996ba7b869445c8ae4ab91b1ce09 (diff)
Rename get_remotes to get_remote_branches
Git-Dch: Ignore
Diffstat (limited to 'gbp')
-rw-r--r--gbp/git.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/git.py b/gbp/git.py
index d344ab56..63749ee9 100644
--- a/gbp/git.py
+++ b/gbp/git.py
@@ -453,7 +453,7 @@ class GitRepository(object):
name = os.getenv("GIT_AUTHOR_NAME", name)
return (name, email)
- def get_remotes(self):
+ def get_remote_branches(self):
"""Get all remote branches"""
args = [ '--format=%(refname:short)', 'refs/remotes/' ]
out = self.__git_getoutput('for-each-ref', args)[0]