• Stan Hu's avatar
    Fix repository cache invalidation issue when project is recreated with an empty repo · 2ce7559d
    Stan Hu authored
    To reproduce:
    
    1. Create a project with some content
    2. Rename the project
    3. Create a new project with the same name.
    4. Boom - 404.
    
    After step 2, the branch and tag counts were not being cleared. This would
    cause `repository.has_visible_content?` to erroneously return `true`
    for the newly-created project.
    
    Closes #13384
    2ce7559d
To find the state of this project's repository at the time of any of these versions, check out the tags.
CHANGELOG 127 KB