aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/serve.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-08-16 23:06:38 -0700
committerUnknwon <u@gogs.io>2016-08-16 23:06:38 -0700
commita00c932bbc5a76ba9b0457d7d20cd1d5fc185b3d (patch)
tree8992a05aa3d7a72ea8e61047efc8cbab47944f33 /cmd/serve.go
parent6f9a95f83020e215ebe3942bd541da34791dd043 (diff)
downloadgitea-a00c932bbc5a76ba9b0457d7d20cd1d5fc185b3d.tar.gz
gitea-a00c932bbc5a76ba9b0457d7d20cd1d5fc185b3d.zip
General code quality improvement
Diffstat (limited to 'cmd/serve.go')
-rw-r--r--cmd/serve.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/serve.go b/cmd/serve.go
index e55da77441..fbae10fd84 100644
--- a/cmd/serve.go
+++ b/cmd/serve.go
@@ -101,7 +101,7 @@ func handleUpdateTask(uuid string, user, repoUser *models.User, reponame string,
}
if err = models.PushUpdate(models.PushUpdateOptions{
- RefName: task.RefName,
+ RefFullName: task.RefName,
OldCommitID: task.OldCommitID,
NewCommitID: task.NewCommitID,
PusherID: user.ID,