Commit bb78a24528903df1707911e8802bd62f59d7014c
Hide branches inherited from upstream when listing forks
Charles Lehner committed on 4/26/2016, 9:28:37 PMParent: ea333278df31de123808813a031b904b32dab41f
Files changed
lib/repos/pulls.js | changed |
package.json | changed |
lib/repos/pulls.js | ||
---|---|---|
@@ -279,9 +279,9 @@ | ||
279 | 279 | ])) |
280 | 280 | |
281 | 281 | function renderFork(fork) { |
282 | 282 | return pull( |
283 | - fork.repo.refs(), | |
283 | + fork.repo.refs({inherited: false}), | |
284 | 284 | pull.map(function (ref) { |
285 | 285 | var m = /^refs\/([^\/]*)\/(.*)$/.exec(ref.name) || [,ref.name] |
286 | 286 | return { |
287 | 287 | type: m[1], |
package.json | ||
---|---|---|
@@ -16,9 +16,9 @@ | ||
16 | 16 | "pull-paramap": "^1.1.6", |
17 | 17 | "pull-stream": "^3.1.0", |
18 | 18 | "ssb-client": "^3.0.1", |
19 | 19 | "ssb-config": "^1.1.0", |
20 | - "ssb-git-repo": "^1.6.4", | |
20 | + "ssb-git-repo": "^1.7.0", | |
21 | 21 | "ssb-issues": "^0.1.0", |
22 | 22 | "ssb-keys": "^5.0.0", |
23 | 23 | "ssb-marked": "^0.6.0", |
24 | 24 | "ssb-mentions": "^0.1.0", |
Built with git-ssb-web