mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-08-02 16:35:19 +02:00
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
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue