0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-02-25 21:35:23 +01:00
6543 505e456f26
Protect default branch against deletion ()
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
..