summaryrefslogtreecommitdiffstats
path: root/routers/repo/view.go
diff options
context:
space:
mode:
authorPeter Smit <peter@smitmail.eu>2015-02-05 11:08:10 +0200
committerPeter Smit <peter@smitmail.eu>2015-02-05 11:08:10 +0200
commit03af37554e34582e8c5a9d98ec9f2d3c9884f0d8 (patch)
treee13334fb2bd83e02fdd05ec6895681d27876cd0f /routers/repo/view.go
parentfd1df86c44bfbd13b4df0a66840113b0d18695bc (diff)
parent02c5bade0fabc24b9b7c05a74c65965e2e53f687 (diff)
downloadgitea-03af37554e34582e8c5a9d98ec9f2d3c9884f0d8.tar.gz
gitea-03af37554e34582e8c5a9d98ec9f2d3c9884f0d8.zip
Merge branch 'dev' into newcollaboration
Diffstat (limited to 'routers/repo/view.go')
-rw-r--r--routers/repo/view.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/routers/repo/view.go b/routers/repo/view.go
index 606a0da637..cb689df6a0 100644
--- a/routers/repo/view.go
+++ b/routers/repo/view.go
@@ -156,9 +156,9 @@ func Home(ctx *middleware.Context) {
for _, f := range files {
switch c := f[1].(type) {
case *git.Commit:
- c.CommitMessage = string(base.RenderIssueIndexPattern([]byte(c.CommitMessage), ctx.Repo.RepoLink))
+ c.CommitMessage = c.CommitMessage
case *git.SubModuleFile:
- c.CommitMessage = string(base.RenderIssueIndexPattern([]byte(c.CommitMessage), ctx.Repo.RepoLink))
+ c.CommitMessage = c.CommitMessage
}
}
ctx.Data["Files"] = files