From d885b9ab9c1a7d5a624b9d122583d77d42eee076 Mon Sep 17 00:00:00 2001 From: cel Date: Tue, 31 Jan 2017 16:52:41 -0800 Subject: Make git repo message copy-pasteable to shell --- lib/render-msg.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/render-msg.js') 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) } -- cgit v1.2.3