1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-18 08:04:25 +00: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 Remove Unused Functions (#10516) 2020-03-02 00:05:44 +02:00
key.go AuthorizedKeysCommand should not query db directly (#9371) 2019-12-16 20:49:07 -05:00
manager_unix.go Queue: Make WorkerPools and Queues flushable (#10001) 2020-01-28 20:01:06 -05:00
manager_windows.go Queue: Make WorkerPools and Queues flushable (#10001) 2020-01-28 20:01:06 -05:00
manager.go Queue: Make WorkerPools and Queues flushable (#10001) 2020-01-28 20:01:06 -05:00
serv.go Prevent clones and pushes to disabled wiki (#11131) 2020-04-19 15:26:58 +01:00