Skip to content

Fix pushes to an empty repository not invalidating has_visible_content? cache

Stan Hu requested to merge sh-fix-issue-38646 into master

Repository#has_visible_content? used to rely on the cached count of local branches, but since it is now an independently cached value it needs to be invalidated on its own.

Closes #38646 (closed)

Merge request reports