Commit f34f08104b9613ba5f0ac43eb229ae992116224a
Include git blob id in new line-comments, for good measure
cel committed on 1/10/2018, 8:21:23 AMParent: f0426f5208e1a3ca3264f7940e4d4edaf072d3fa
Files changed
lib/serve.js | changed |
lib/serve.js | ||
---|---|---|
@@ -2230,8 +2230,9 @@ | ||
2230 | 2230 … | self.renderLineCommentForm({ |
2231 | 2231 … | id: id, |
2232 | 2232 … | line: newLineNum, |
2233 | 2233 … | updateId: updateMsg.key, |
2234 … | + blobId: hash, | |
2234 | 2235 … | repoId: updateMsg.value.content.repo, |
2235 | 2236 … | commitId: lineCommentInfo.commit, |
2236 | 2237 … | filePath: lineCommentInfo.path, |
2237 | 2238 … | }) |
@@ -2716,8 +2717,9 @@ | ||
2716 | 2717 … | line: lineNum, |
2717 | 2718 … | updateId: updateMsg.key, |
2718 | 2719 … | repoId: updateMsg.value.content.repo, |
2719 | 2720 … | commitId: commitId, |
2721 … | + blobId: hash, | |
2720 | 2722 … | filePath: filePath, |
2721 | 2723 … | }) |
2722 | 2724 … | ) |
2723 | 2725 … | ) : '' |
@@ -3112,8 +3114,9 @@ | ||
3112 | 3114 … | content.updateId = opts.lineComment.updateId |
3113 | 3115 … | content.repo = opts.lineComment.repoId |
3114 | 3116 … | content.commitId = opts.lineComment.commitId |
3115 | 3117 … | content.filePath = opts.lineComment.filePath |
3118 … | + content.blobId = opts.lineComment.blobId | |
3116 | 3119 … | content.line = opts.lineComment.line |
3117 | 3120 … | } |
3118 | 3121 … | var mentions = ssbMentions(data.text, {bareFeedNames: true, emoji: true}) |
3119 | 3122 … | .filter(function (mention) { |
Built with git-ssb-web