1
1
Fork 1
mirror of https://github.com/go-gitea/gitea.git synced 2024-05-18 07:26:08 +02:00
gitea/routers/private
Jason Song f371f84fa3
Restore deleted branches when syncing (#29898)
Regression of #29493. If a branch has been deleted, repushing it won't
restore it.

Lunny may have noticed that, but I didn't delve into the comment then
overlooked it:
https://github.com/go-gitea/gitea/pull/29493#discussion_r1509046867

The additional comments added are to explain the issue I found during
testing, which are unrelated to the fixes.
2024-03-20 01:45:27 +00:00
..
tests/repos Fix verifyCommits error when push a new branch (#26664) 2023-08-30 02:27:53 +00:00
actions.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
default_branch.go Move get/set default branch from git package to gitrepo package to hide repopath (#29126) 2024-03-08 15:30:10 +08:00
hook_post_receive.go Restore deleted branches when syncing (#29898) 2024-03-20 01:45:27 +00:00
hook_pre_receive.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
hook_proc_receive.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
hook_verification.go Improve ObjectFormat interface (#28496) 2023-12-19 07:20:47 +00:00
hook_verification_test.go Adjust object format interface (#28469) 2023-12-17 11:56:08 +00:00
internal.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
internal_repo.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
key.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
mail.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
manager.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
manager_process.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
manager_unix.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
manager_windows.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
restore_repo.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
serv.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
ssh_log.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00