git ssb

0+

cel / ssb-pull-requests



Commit fc79e4ae8dfc4b26c46b891776e8b82a3d34110e

Uniqify listed PRs

cel committed on 10/19/2016, 2:03:06 AM
Parent: efa6ad97a49b5f3337174d89838e3695e691507a

Files changed

index.jschanged
index.jsView
@@ -98,8 +98,9 @@
9898 opts = opts || {}
9999 opts.type = 'pull-request'
100100 return pull(
101101 sbot.messagesByType(opts),
102 + pull.unique('key'),
102103 pull.filter(function (msg) {
103104 return (!opts.repo || opts.repo == msg.value.content.repo)
104105 && (!opts.headRepo || opts.headRepo == msg.value.content.head_repo)
105106 && (!opts.author || opts.author == msg.value.author)

Built with git-ssb-web