Commit 81d191ed authored by Yorick Peterse's avatar Yorick Peterse

Removed Repository#rebuild_cache

This method is not used or tested anywhere.
parent dc396d0f
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment