aboutsummaryrefslogtreecommitdiffstats
path: root/serve.go
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-03-23 06:27:01 -0400
committerUnknown <joe2010xtmf@163.com>2014-03-23 06:27:01 -0400
commit1eb078d0a8c5424de9512d810ab2fbf21f59ff78 (patch)
treede429367cb1efd971d6d6723882dc793fe05a733 /serve.go
parent24630e0c9b92bcd9fdeb07ce15c3dd2cfc459a52 (diff)
downloadgitea-1eb078d0a8c5424de9512d810ab2fbf21f59ff78.tar.gz
gitea-1eb078d0a8c5424de9512d810ab2fbf21f59ff78.zip
Fix action
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 71abf5fdd6..f9291366ab 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)