aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2017-01-31 16:52:41 -0800
committercel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2017-01-31 16:52:41 -0800
commitd885b9ab9c1a7d5a624b9d122583d77d42eee076 (patch)
treebcb00cb173dd94443586c57d59a9a89f8808dadb
parent15a241e039d5b8481e349c709ee01435c09d8a2c (diff)
downloadpatchfoo-d885b9ab9c1a7d5a624b9d122583d77d42eee076.tar.gz
patchfoo-d885b9ab9c1a7d5a624b9d122583d77d42eee076.zip
Make git repo message copy-pasteable to shell
-rw-r--r--lib/render-msg.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/render-msg.js b/lib/render-msg.js
index a9b783f..5d16544 100644
--- a/lib/render-msg.js
+++ b/lib/render-msg.js
@@ -289,10 +289,10 @@ RenderMsg.prototype.channel = function (cb) {
RenderMsg.prototype.gitRepo = function (cb) {
this.wrapMini([
- 'git repo ',
+ 'git clone ',
h('code', h('small', 'ssb://' + this.msg.key)),
this.c.name ? [' ', h('a', {href: this.toUrl(this.msg.key)},
- '%' + this.c.name)] : ''
+ this.c.name)] : ''
], cb)
}