1
1
mirror of https://github.com/go-gitea/gitea synced 2025-11-02 20:38:26 +00:00
Files
gitea/services/repository/branch.go
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

5.5 KiB