git ssb

39+

cel / git-ssb



Commit d4db2a8da13d8f78996e6913763056d5dd83a8a6

Print 'Loading...' for commands that list things

cel committed on 11/7/2016, 12:23:52 AM
Parent: 5a32bb514ba7c50bed24148d4dc1fbd761c13c6e

Files changed

lib/forks.jschanged
lib/issues.jschanged
lib/pull-requests.jschanged
lib/forks.jsView
@@ -23,8 +23,9 @@
2323 ])
2424 }
2525
2626 module.exports = function repoForks(argv) {
27 + process.stderr.write('Loading forks...\r')
2728 var id = u.repoId(u.getRemoteUrl(argv._[0])) || u.getDefaultRemote()
2829 if (!id)
2930 err(1, 'unable to find git-ssb repo')
3031
lib/issues.jsView
@@ -4,8 +4,9 @@
44 var getAbout = require('ssb-avatar')
55 var Issues = require('ssb-issues')
66
77 module.exports = function (argv) {
8 + process.stderr.write('Loading issues...\r')
89 var id = u.repoId(u.getRemoteUrl(argv._[0])) || u.getDefaultRemote()
910 if (!id)
1011 err(1, 'unable to find git-ssb repo')
1112
lib/pull-requests.jsView
@@ -4,8 +4,9 @@
44 var getAbout = require('ssb-avatar')
55 var PRs = require('ssb-pull-requests')
66
77 module.exports = function (argv) {
8 + process.stderr.write('Loading pull requests...\r')
89 var headRepo = u.repoId(u.getRemoteUrl(argv._[0])) || u.getDefaultRemote()
910 if (!headRepo)
1011 err(1, 'unable to find git-ssb head repo')
1112

Built with git-ssb-web