summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--AUTHORS1
-rw-r--r--git/remote.py1
2 files changed, 1 insertions, 1 deletions
diff --git a/AUTHORS b/AUTHORS
index 15fff4a3..e2c3293c 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -14,5 +14,6 @@ Contributors are:
-Sebastian Thiel <byronimo _at_ gmail.com>
-Jonathan Chu <jonathan.chu _at_ me.com>
-Vincent Driessen <me _at_ nvie.com>
+-Phil Elson <pelson _dot_ pub _at_ gmail.com>
Portions derived from other open source works and are clearly marked.
diff --git a/git/remote.py b/git/remote.py
index c024030d..12129460 100644
--- a/git/remote.py
+++ b/git/remote.py
@@ -511,7 +511,6 @@ class Remote(LazyMixin, Iterable):
remote.refs.master # yields RemoteReference('/refs/remotes/origin/master')"""
out_refs = IterableList(RemoteReference._id_attribute_, "%s/" % self.name)
out_refs.extend(RemoteReference.list_items(self.repo, remote=self.name))
- assert out_refs, "Remote %s did not have any references" % self.name
return out_refs
@property