git ssb

30+

cel / git-ssb-web



Commit 607f737e93d7ffc3353f8df5ef0e5eef35221fa6

Handle missing refs object

cel committed on 6/9/2017, 12:19:20 AM
Parent: 435e130aa26d52d723f2341d4aac47427a675d9b

Files changed

lib/repos/pulls.jschanged
lib/repos/pulls.jsView
@@ -159,9 +159,9 @@
159159 return link.value.timestamp > pr.created_at
160160 }),
161161 pull.filter(function (link) {
162162 return link.value.content.type == 'git-update'
163- && ('refs/heads/' + pr.headBranch) in link.value.content.refs
163 + && ('refs/heads/' + pr.headBranch) in (link.value.content.refs || {})
164164 })
165165 )
166166 ]),
167167 pull.unique('key'),

Built with git-ssb-web