gitea/services/repository
Dmitry Sharshakov 5e02e3b7ee
Add support for forking single branch (#25821)
Fixes #25117

Add UI for choosing branch to fork

Change default branch on single-branch forks


![image](https://github.com/go-gitea/gitea/assets/19504461/28505f69-a9a2-43a8-8b19-a0cdac3ddc5a)

---------

Co-authored-by: Denys Konovalov <kontakt@denyskon.de>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2023-09-29 09:48:39 +08:00
..
archiver make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
files make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
adopt.go Another round of `db.DefaultContext` refactor (#27103) 2023-09-25 13:17:37 +00:00
adopt_test.go
avatar.go
avatar_test.go
branch.go Updates to the API for archived repos (#27149) 2023-09-21 23:43:29 +00:00
cache.go
check.go move repository deletion to service layer (#26948) 2023-09-08 04:51:15 +00:00
collaboration.go Next round of `db.DefaultContext` refactor (#27089) 2023-09-16 14:39:12 +00:00
collaboration_test.go Next round of `db.DefaultContext` refactor (#27089) 2023-09-16 14:39:12 +00:00
commit.go
create.go move repository deletion to service layer (#26948) 2023-09-08 04:51:15 +00:00
create_test.go More refactoring of `db.DefaultContext` (#27083) 2023-09-15 06:13:19 +00:00
delete.go Another round of `db.DefaultContext` refactor (#27103) 2023-09-25 13:17:37 +00:00
delete_test.go More refactoring of `db.DefaultContext` (#27083) 2023-09-15 06:13:19 +00:00
fork.go Add support for forking single branch (#25821) 2023-09-29 09:48:39 +08:00
fork_test.go
hooks.go
lfs.go
lfs_test.go
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
push.go Next round of `db.DefaultContext` refactor (#27089) 2023-09-16 14:39:12 +00:00
repository.go Next round of `db.DefaultContext` refactor (#27089) 2023-09-16 14:39:12 +00:00
repository_test.go
review.go
review_test.go
template.go Move notification interface to services layer (#26915) 2023-09-05 18:37:47 +00:00
transfer.go Next round of `db.DefaultContext` refactor (#27089) 2023-09-16 14:39:12 +00:00
transfer_test.go Replace 'userxx' with 'orgxx' in all test files when the user type is org (#27052) 2023-09-14 02:59:53 +00:00