diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2019-11-29 10:21:05 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-29 10:21:05 +0800 |
commit | e151674cfa4255938f974cfb050b5222db77dcf5 (patch) | |
tree | 6b23a3b59643ce9fb385d5a67c213249b14cf113 /routers/private/hook.go | |
parent | 54dab5aed999c1c3c0dd247de54a9cc2f9e6ebef (diff) | |
download | gitea-e151674cfa4255938f974cfb050b5222db77dcf5.tar.gz gitea-e151674cfa4255938f974cfb050b5222db77dcf5.zip |
Move PushUpdateOptions from models to repofiles (#9124)
Diffstat (limited to 'routers/private/hook.go')
-rw-r--r-- | routers/private/hook.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/private/hook.go b/routers/private/hook.go index 074e3aef19..c9065bceb3 100644 --- a/routers/private/hook.go +++ b/routers/private/hook.go @@ -159,7 +159,7 @@ func HookPostReceive(ctx *macaron.Context) { }) return } - if err := repofiles.PushUpdate(repo, branch, models.PushUpdateOptions{ + if err := repofiles.PushUpdate(repo, branch, repofiles.PushUpdateOptions{ RefFullName: refFullName, OldCommitID: oldCommitID, NewCommitID: newCommitID, |