Removed Repository#rebuild_cache

This method is not used or tested anywhere.
This commit is contained in:
Yorick Peterse 2016-03-17 17:50:59 +01:00
parent dc396d0fa4
commit 81d191ede9

View file

@ -301,18 +301,6 @@ class Repository
@tag_count = nil
end
def rebuild_cache
cache_keys.each do |key|
cache.expire(key)
send(key)
end
branches.each do |branch|
cache.expire(:"diverging_commit_counts_#{branch.name}")
diverging_commit_counts(branch)
end
end
def lookup_cache
@lookup_cache ||= {}
end