aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/serve.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/serve.js b/lib/serve.js
index 793ad84..e8a8c91 100644
--- a/lib/serve.js
+++ b/lib/serve.js
@@ -1808,6 +1808,8 @@ Serve.prototype.gitCommit = function (rev) {
self.app.render.toUrl('/git/blob/'
+ (file.hash[1] || file.hash[0])
+ '?msg=' + encodeURIComponent(msg.key))
+ + '&commit=' + rev
+ + '&path=' + encodeURIComponent(file.name)
}, 'created')
: file.hash ?
ph('a', {href: