git ssb

30+

cel / git-ssb-web



Commit bb78a24528903df1707911e8802bd62f59d7014c

Hide branches inherited from upstream when listing forks

Charles Lehner committed on 4/26/2016, 9:28:37 PM
Parent: ea333278df31de123808813a031b904b32dab41f

Files changed

lib/repos/pulls.jschanged
package.jsonchanged
lib/repos/pulls.jsView
@@ -279,9 +279,9 @@
279279 ]))
280280
281281 function renderFork(fork) {
282282 return pull(
283- fork.repo.refs(),
283+ fork.repo.refs({inherited: false}),
284284 pull.map(function (ref) {
285285 var m = /^refs\/([^\/]*)\/(.*)$/.exec(ref.name) || [,ref.name]
286286 return {
287287 type: m[1],
package.jsonView
@@ -16,9 +16,9 @@
1616 "pull-paramap": "^1.1.6",
1717 "pull-stream": "^3.1.0",
1818 "ssb-client": "^3.0.1",
1919 "ssb-config": "^1.1.0",
20- "ssb-git-repo": "^1.6.4",
20+ "ssb-git-repo": "^1.7.0",
2121 "ssb-issues": "^0.1.0",
2222 "ssb-keys": "^5.0.0",
2323 "ssb-marked": "^0.6.0",
2424 "ssb-mentions": "^0.1.0",

Built with git-ssb-web