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:
@@ -137,7 +137,7 @@ func deleteBranch(ctx *context.Context, branchName string) error {
|
||||
if err := repofiles.PushUpdate(
|
||||
ctx.Repo.Repository,
|
||||
branchName,
|
||||
models.PushUpdateOptions{
|
||||
repofiles.PushUpdateOptions{
|
||||
RefFullName: git.BranchPrefix + branchName,
|
||||
OldCommitID: commit.ID.String(),
|
||||
NewCommitID: git.EmptySHA,
|
||||
|
Reference in New Issue
Block a user