git ssb

16+

Dominic / patchbay



Commit d4a98043304f590b79f4dbe3398066294b7dba14

whitespace

Charles Lehner committed on 8/27/2016, 8:41:00 AM
Parent: 8212081d31da69a5c2c3a831487c043c95a69768

Files changed

modules/git.jschanged
modules/git.jsView
@@ -225,16 +225,18 @@
225225 shortRefName(ref) + ': ',
226226 rev ? h('code', rev) : h('em', 'deleted'))
227227 })) : null,
228228 Array.isArray(c.commits) ? [
229- h('ul', c.commits.map(function (commit) {
230- return h('li',
231- typeof commit.sha1 === 'string' ?
232- [h('code', commit.sha1.substr(0, 8)), ' '] : null,
233- commit.title ?
234- h('q', commit.title) : null)
235- }),
236- c.commits_more ? h('li', '+ ' + c.commits_more + ' more') : null)
229+ h('ul',
230+ c.commits.map(function (commit) {
231+ return h('li',
232+ typeof commit.sha1 === 'string' ?
233+ [h('code', commit.sha1.substr(0, 8)), ' '] : null,
234+ commit.title ?
235+ h('q', commit.title) : null)
236+ }),
237+ c.commits_more > 0 ?
238+ h('li', '+ ', c.commits_more, ' more') : null)
237239 ] : null,
238240 Array.isArray(c.issues) ? c.issues.map(function (issue) {
239241 if (issue.merged === true)
240242 return ['Merged ', message_link(issue.link), ' in ',

Built with git-ssb-web