summaryrefslogtreecommitdiff
path: root/lib/api/helpers.rb
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2016-04-13 00:00:15 -0700
committerStan Hu <stanhu@gmail.com>2016-04-13 00:04:17 -0700
commit2ce7559d70e228963280df1f50176e9b2fa1e7b8 (patch)
treeafbdc275ad5e557aacb92beb5268f8a3bfe307e0 /lib/api/helpers.rb
parent64d71b4dfc4513b70eac61cbb9bb718aee3f09e9 (diff)
downloadgitlab-ce-2ce7559d70e228963280df1f50176e9b2fa1e7b8.tar.gz
Fix repository cache invalidation issue when project is recreated with an empty repo
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
Diffstat (limited to 'lib/api/helpers.rb')
0 files changed, 0 insertions, 0 deletions