0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-01 01:25:48 +01: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
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_test.go
hook_verification.go
internal_repo.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
internal.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
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
manager.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