Merge pull request #134 from clee/master
Use commit summaries instead of full messages
This commit is contained in:
commit
9fdf4bc277
3 changed files with 4 additions and 4 deletions
|
@ -92,7 +92,7 @@ func Diff(ctx *middleware.Context, params martini.Params) {
|
|||
}
|
||||
|
||||
ctx.Data["IsImageFile"] = isImageFile
|
||||
ctx.Data["Title"] = commit.Message() + " · " + base.ShortSha(commitId)
|
||||
ctx.Data["Title"] = commit.Summary() + " · " + base.ShortSha(commitId)
|
||||
ctx.Data["Commit"] = commit
|
||||
ctx.Data["Diff"] = diff
|
||||
ctx.Data["DiffNotAvailable"] = diff.NumFiles() == 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue