git ssb

16+

cel / patchfoo



Commit f34f08104b9613ba5f0ac43eb229ae992116224a

Include git blob id in new line-comments, for good measure

cel committed on 1/10/2018, 8:21:23 AM
Parent: f0426f5208e1a3ca3264f7940e4d4edaf072d3fa

Files changed

lib/serve.jschanged
lib/serve.jsView
@@ -2230,8 +2230,9 @@
22302230 self.renderLineCommentForm({
22312231 id: id,
22322232 line: newLineNum,
22332233 updateId: updateMsg.key,
2234 + blobId: hash,
22342235 repoId: updateMsg.value.content.repo,
22352236 commitId: lineCommentInfo.commit,
22362237 filePath: lineCommentInfo.path,
22372238 })
@@ -2716,8 +2717,9 @@
27162717 line: lineNum,
27172718 updateId: updateMsg.key,
27182719 repoId: updateMsg.value.content.repo,
27192720 commitId: commitId,
2721 + blobId: hash,
27202722 filePath: filePath,
27212723 })
27222724 )
27232725 ) : ''
@@ -3112,8 +3114,9 @@
31123114 content.updateId = opts.lineComment.updateId
31133115 content.repo = opts.lineComment.repoId
31143116 content.commitId = opts.lineComment.commitId
31153117 content.filePath = opts.lineComment.filePath
3118 + content.blobId = opts.lineComment.blobId
31163119 content.line = opts.lineComment.line
31173120 }
31183121 var mentions = ssbMentions(data.text, {bareFeedNames: true, emoji: true})
31193122 .filter(function (mention) {

Built with git-ssb-web