Removed Repository#rebuild_cache
This method is not used or tested anywhere.
This commit is contained in:
parent
dc396d0fa4
commit
81d191ede9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue