From e151674cfa4255938f974cfb050b5222db77dcf5 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Fri, 29 Nov 2019 10:21:05 +0800 Subject: Move PushUpdateOptions from models to repofiles (#9124) --- routers/repo/branch.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'routers/repo/branch.go') diff --git a/routers/repo/branch.go b/routers/repo/branch.go index 0c06de3ea6..306deca36e 100644 --- a/routers/repo/branch.go +++ b/routers/repo/branch.go @@ -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, -- cgit v1.2.3