0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-01-28 23:13:42 +01:00
gitea/services/repository
Giteabot e8c776c793
Fix push multiple branches error with tests (#31151) (#31153)
Backport #31151 by @lunny

Fix #31140 

The previous logic is wrong when pushing multiple branches. After first
branch updated, it will ignore left other branches sync operations.

As a workaround for the repositories, just push a new commit after the
patch applied will fix the repositories status.

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2024-05-30 07:04:42 +00:00
..
archiver
commitstatus Fix automerge will not work because of some events haven't been triggered (#30780) (#31039) 2024-05-22 02:08:05 +00:00
files
adopt_test.go
adopt.go
avatar_test.go
avatar.go
branch.go Fix push multiple branches error with tests (#31151) (#31153) 2024-05-30 07:04:42 +00:00
cache.go
check.go
collaboration_test.go
collaboration.go
commit.go
contributors_graph_test.go
contributors_graph.go
create_test.go
create.go
delete_test.go
delete.go
fork_test.go
fork.go
generate_test.go
generate.go
hooks.go
init.go
lfs_test.go
lfs.go
main_test.go
migrate.go
push.go
repository_test.go
repository.go
review_test.go
review.go
setting.go
template.go
transfer_test.go
transfer.go