git ssb

30+

cel / git-ssb-web



Commit 17902b87345bd7f2aea48ec1a1863920ff23829a

Whitespace

Charles Lehner committed on 10/9/2016, 9:08:04 PM
Parent: 3a8e21a05397d1f664f95b88c7fd1ac98ee92d13

Files changed

lib/repos/pulls.jschanged
lib/repos/pulls.jsView
@@ -92,14 +92,14 @@
9292 self.web.pullReqs.getRevs(pr.id, function (err, revs) {
9393 if (err) return cb(null, self.web.renderError(err))
9494 GitRepo.getMergeBase(baseRepo, revs.base, headRepo, revs.head,
9595 function (err, mergeBase) {
96- if (err) return cb(null, self.web.renderError(err))
97- cb(null, cat([
98- pull.once('<section>'),
99- self.renderCommitLog(req, baseRepo, mergeBase, headRepo, revs.head),
100- pull.once('</section>')
101- ]))
96 + if (err) return cb(null, self.web.renderError(err))
97 + cb(null, cat([
98 + pull.once('<section>'),
99 + self.renderCommitLog(req, baseRepo, mergeBase, headRepo, revs.head),
100 + pull.once('</section>')
101 + ]))
102102 }
103103 )
104104 })
105105 }
@@ -109,15 +109,15 @@
109109 self.web.pullReqs.getRevs(pr.id, function (err, revs) {
110110 if (err) return cb(null, self.web.renderError(err))
111111 GitRepo.getMergeBase(baseRepo, revs.base, headRepo, revs.head,
112112 function (err, mergeBase) {
113- if (err) return cb(null, self.web.renderError(err))
114- cb(null, cat([
115- pull.once('<section>'),
116- self.repo.renderDiffStat(req,
117- [baseRepo, headRepo], [mergeBase, revs.head]),
118- pull.once('</section>')
119- ]))
113 + if (err) return cb(null, self.web.renderError(err))
114 + cb(null, cat([
115 + pull.once('<section>'),
116 + self.repo.renderDiffStat(req,
117 + [baseRepo, headRepo], [mergeBase, revs.head]),
118 + pull.once('</section>')
119 + ]))
120120 }
121121 )
122122 })
123123 }
@@ -197,9 +197,9 @@
197197 '</pre>' +
198198 '</div></section>'),
199199 !self.web.isPublic && u.readOnce(function (cb) {
200200 cb(null, forms.issueComment(req, pr, repo, newestMsg.key,
201- req._t('pull request')))
201 + req._t('pull request')))
202202 })
203203 ])
204204 }
205205

Built with git-ssb-web