1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-20 07:34:59 +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 Prevent clones and pushes to disabled wiki (#11131) 2020-04-19 15:26:58 +01:00