mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Move PushUpdateOptions from models to repofiles (#9124)
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user