Skip to content

Commit 74941c2

Browse files
committed
Allowed remotes to have no refs.
1 parent 657cd7e commit 74941c2

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

‎AUTHORS‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,6 @@ Contributors are:
1414
-Sebastian Thiel <byronimo _at_ gmail.com>
1515
-Jonathan Chu <jonathan.chu _at_ me.com>
1616
-Vincent Driessen <me _at_ nvie.com>
17+
-Phil Elson <pelson.pub _at_ gmail.com>
1718

1819
Portions derived from other open source works and are clearly marked.

‎git/remote.py‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,6 @@ def refs(self):
511511
remote.refs.master # yields RemoteReference('/refs/remotes/origin/master')"""
512512
out_refs=IterableList(RemoteReference._id_attribute_, "%s/"%self.name)
513513
out_refs.extend(RemoteReference.list_items(self.repo, remote=self.name))
514-
assertout_refs, "Remote %s did not have any references"%self.name
515514
returnout_refs
516515

517516
@property

0 commit comments

Comments
(0)