forked from forgejo/forgejo
Move PushUpdateOptions from models to repofiles (#9124)
This commit is contained in:
parent
54dab5aed9
commit
e151674cfa
5 changed files with 15 additions and 15 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue