0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-08-02 19:03:56 +02:00
Giteabot 947358dffe
Fix incorrect divergence cache after switching default branch (#34370) (#34406)
Backport #34370 by @GWDx

Issue: After switching the default branch, other branches are still
compared against the old default branch due to outdated divergence
cache.

Change: Clear the divergence cache in SetRepoDefaultBranch to ensure
correct comparisons against the new default branch.

Fixes #34369

Co-authored-by: GWDx <gwdx@mail.ustc.edu.cn>
2025-05-09 01:31:34 +02:00
..
2024-12-23 02:52:25 +00:00
2025-03-10 06:40:37 +08:00