mirror of https://github.com/go-gitea/gitea.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This PR introduce glob match for protected branch name. The separator is `/` and you can use `*` matching non-separator chars and use `**` across separator. It also supports input an exist or non-exist branch name as matching condition and branch name condition has high priority than glob rule. Should fix #2529 and #15705 screenshots <img width="1160" alt="image" src="https://user-images.githubusercontent.com/81045/205651179-ebb5492a-4ade-4bb4-a13c-965e8c927063.png"> Co-authored-by: zeripath <art27@cantab.net> |
2 years ago | |
---|---|---|
.. | ||
check.go | 2 years ago | |
check_test.go | 2 years ago | |
comment.go | 2 years ago | |
commit_status.go | 2 years ago | |
edits.go | 2 years ago | |
lfs.go | 2 years ago | |
main_test.go | 2 years ago | |
merge.go | 2 years ago | |
merge_test.go | 2 years ago | |
patch.go | 2 years ago | |
patch_unmerged.go | 2 years ago | |
pull.go | 2 years ago | |
pull_test.go | 2 years ago | |
review.go | 2 years ago | |
temp_repo.go | 2 years ago | |
update.go | 2 years ago |