gitea/routers/repo
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
..
activity.go
attachment.go
blame.go
branch.go
commit.go
compare.go
download.go
editor.go
editor_test.go
http.go
issue.go
issue_dependency.go
issue_label.go
issue_label_test.go
issue_lock.go
issue_stopwatch.go
issue_timetrack.go
issue_watch.go
lfs.go
main_test.go
middlewares.go
milestone.go
pull.go
pull_review.go
release.go
release_test.go
repo.go
search.go
setting.go
setting_protected_branch.go
settings_test.go
topic.go
view.go
webhook.go
wiki.go
wiki_test.go