diff options
author | Unknwon <joe2010xtmf@163.com> | 2014-09-26 08:55:13 -0400 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2014-09-26 08:55:13 -0400 |
commit | b8368f98ffc79a6c6c7bceed50a2989049d3eb1a (patch) | |
tree | eb6918a6539cfa68b6cc4a582c21fd0e3e4d2348 /routers/repo/commit.go | |
parent | 3164354255a01e98b1c5d4d668c3b1c62474b240 (diff) | |
download | gitea-b8368f98ffc79a6c6c7bceed50a2989049d3eb1a.tar.gz gitea-b8368f98ffc79a6c6c7bceed50a2989049d3eb1a.zip |
Add directory level commit message
Diffstat (limited to 'routers/repo/commit.go')
-rw-r--r-- | routers/repo/commit.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/routers/repo/commit.go b/routers/repo/commit.go index 512df2534f..9791cc5511 100644 --- a/routers/repo/commit.go +++ b/routers/repo/commit.go @@ -61,7 +61,7 @@ func Commits(ctx *middleware.Context) { ctx.Handle(500, "CommitsByRange", err) return } - commits = models.ValidCommitsWithEmails(commits) + commits = models.ValidateCommitsWithEmails(commits) ctx.Data["Commits"] = commits ctx.Data["Username"] = userName @@ -99,7 +99,7 @@ func SearchCommits(ctx *middleware.Context) { ctx.Handle(500, "SearchCommits", err) return } - commits = models.ValidCommitsWithEmails(commits) + commits = models.ValidateCommitsWithEmails(commits) ctx.Data["Keyword"] = keyword ctx.Data["Username"] = userName |