aboutsummaryrefslogtreecommitdiffstats
path: root/serve.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2014-03-23 19:24:18 +0800
committerLunny Xiao <xiaolunwen@gmail.com>2014-03-23 19:24:18 +0800
commit2dd5259f8e499b0749ecb21faa5e6ad1acb39ff7 (patch)
treee607b7a37be6e18f49561e77720dcf9fcd29ea2c /serve.go
parente9a3432d984d19b675ee4a1ff82b2a148f970645 (diff)
parentc386bb4bd314843a532012877e148ae70ee44672 (diff)
downloadgitea-2dd5259f8e499b0749ecb21faa5e6ad1acb39ff7.tar.gz
gitea-2dd5259f8e499b0749ecb21faa5e6ad1acb39ff7.zip
Merge branch 'master' of github.com:gogits/gogs
Diffstat (limited to 'serve.go')
-rw-r--r--serve.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/serve.go b/serve.go
index 84fd8d7b82..a8dfe70b4c 100644
--- a/serve.go
+++ b/serve.go
@@ -272,7 +272,7 @@ func runServ(k *cli.Context) {
}
if err = models.CommitRepoAction(user.Id, user.Name,
- repo.Id, repoName, refname, &models.PushCommits{l.Len(), commits}); err != nil {
+ repo.Id, repoName, refname, &base.PushCommits{l.Len(), commits}); err != nil {
log.Error("runUpdate.models.CommitRepoAction: %v", err, commits)
} else {
//log.Info("refname", refname)