0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-13 03:30:27 +01:00
gitea/routers/private
6543 505e456f26
Protect default branch against deletion (#11115)
Although default branch is not offered for deletion in the templates, we need to prevent it both at the router level and in the pre-receive hook.

Co-authored-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: Lauris BH <lauris@nix.lv>
2020-05-06 12:08:45 +01:00
..
hook.go Protect default branch against deletion (#11115) 2020-05-06 12:08:45 +01:00
internal.go
key.go
manager_unix.go
manager_windows.go
manager.go
serv.go