aboutsummaryrefslogtreecommitdiffstats
path: root/models/git/commit_status_test.go
diff options
context:
space:
mode:
authorGWDx <gwdx@mail.ustc.edu.cn>2025-05-09 02:00:29 +0800
committerGitHub <noreply@github.com>2025-05-08 18:00:29 +0000
commit71a11872091634f1370374ef123d32798ec0447d (patch)
treed84ee3bca5de973232b949299b6f53def2a4209c /models/git/commit_status_test.go
parent4c611bf280c501c22c6a58e94d9e3ce6a73214df (diff)
downloadgitea-71a11872091634f1370374ef123d32798ec0447d.tar.gz
gitea-71a11872091634f1370374ef123d32798ec0447d.zip
Fix incorrect divergence cache after switching default branch (#34370)
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
Diffstat (limited to 'models/git/commit_status_test.go')
0 files changed, 0 insertions, 0 deletions