gitea/models/git
wxiaoguang 39de2955fd
Improve sync fork behavior ()
Fix 

Suppose there is a `branch-a` in fork repo:

1. if `branch-a` exists in base repo: try to sync `base:branch-a` to `fork:branch-a`
2. if `branch-a` doesn't exist in base repo: try to sync `base:main` to `fork:branch-a`
..
branch.go Improve sync fork behavior ()
branch_list.go Fix branch order ()
branch_test.go Start to migrate from `util.OptionalBool` to `optional.Option[bool]` ()
commit_status.go Fix Null Pointer error for CommitStatusesHideActionsURL ()
commit_status_summary.go Fix commitstatus summary ()
commit_status_test.go Enable tenv and testifylint rules ()
lfs.go refactor: remove redundant err declarations ()
lfs_lock.go Show lock owner instead of repo owner on LFS setting page ()
lfs_lock_list.go Show lock owner instead of repo owner on LFS setting page ()
main_test.go make writing main test easier ()
protected_branch.go Add priority to protected branch ()
protected_branch_list.go Add priority to protected branch ()
protected_branch_list_test.go Add priority to protected branch ()
protected_branch_test.go Enable tenv and testifylint rules ()
protected_tag.go Add tag protection via rest api ()
protected_tag_test.go Implement FSFE REUSE for golang files ()