forgejo/services/repository
Lunny Xiao 0d47b0ab1d
Remove duplicated functions when deleting a branch (#25128)
Extract from #22743

`DeleteBranch` will trigger a push update event, so that
`pull_service.CloseBranchPulls` has been invoked twice and
`AddDeletedBranch` is better to be moved to push update then even user
delete a branch via git command, it will also be triggered.

Co-authored-by: Giteabot <teabot@gitea.io>
2023-06-08 10:10:59 +00:00
..
archiver
files
adopt.go
adopt_test.go
avatar.go
avatar_test.go
branch.go Remove duplicated functions when deleting a branch (#25128) 2023-06-08 10:10:59 +00:00
cache.go
check.go
fork.go
fork_test.go
hooks.go
lfs.go
main_test.go
push.go Remove duplicated functions when deleting a branch (#25128) 2023-06-08 10:10:59 +00:00
repository.go
repository_test.go
review.go
review_test.go
template.go
transfer.go
transfer_test.go