diff options
author | Unknwon <u@gogs.io> | 2016-08-16 23:06:38 -0700 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2016-08-16 23:06:38 -0700 |
commit | a00c932bbc5a76ba9b0457d7d20cd1d5fc185b3d (patch) | |
tree | 8992a05aa3d7a72ea8e61047efc8cbab47944f33 /cmd/serve.go | |
parent | 6f9a95f83020e215ebe3942bd541da34791dd043 (diff) | |
download | gitea-a00c932bbc5a76ba9b0457d7d20cd1d5fc185b3d.tar.gz gitea-a00c932bbc5a76ba9b0457d7d20cd1d5fc185b3d.zip |
General code quality improvement
Diffstat (limited to 'cmd/serve.go')
-rw-r--r-- | cmd/serve.go | 2 |
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, |