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

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`
2025-01-20 15:17:47 +08:00
..
branch_list.go
branch_test.go
branch.go Improve sync fork behavior (#33319) 2025-01-20 15:17:47 +08:00
commit_status_summary.go
commit_status_test.go Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
commit_status.go
lfs_lock_list.go
lfs_lock.go
lfs.go
main_test.go
protected_branch_list_test.go Add priority to protected branch (#32286) 2024-11-27 05:41:06 +01:00
protected_branch_list.go Add priority to protected branch (#32286) 2024-11-27 05:41:06 +01:00
protected_branch_test.go Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
protected_branch.go Add priority to protected branch (#32286) 2024-11-27 05:41:06 +01:00
protected_tag_test.go
protected_tag.go