summaryrefslogtreecommitdiffstats
path: root/serve.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2014-03-23 17:40:50 +0800
committerLunny Xiao <xiaolunwen@gmail.com>2014-03-23 17:40:50 +0800
commit0119675480505a6534ee0fc98c91e3bd2b8cdaaf (patch)
tree890d527db7f2047e6a8cb5858badb1d1ee6184b6 /serve.go
parentc4287bafabb96f3970bf629ff225c48112d008d9 (diff)
downloadgitea-0119675480505a6534ee0fc98c91e3bd2b8cdaaf.tar.gz
gitea-0119675480505a6534ee0fc98c91e3bd2b8cdaaf.zip
bug fixed
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 2f7a9d6052..bb9165dc06 100644
--- a/serve.go
+++ b/serve.go
@@ -268,7 +268,7 @@ func runServ(k *cli.Context) {
}
if err = models.CommitRepoAction(user.Id, user.Name,
- repo.Id, ref.BranchName(), commits); err != nil {
+ repo.Id, repoName, refname, commits); err != nil {
log.Error("runUpdate.models.CommitRepoAction: %v", err, commits)
} else {
//log.Info("refname", refname)