Prevent grit from caching graph commits

This commit is contained in:
randx 2012-10-26 21:52:26 +03:00
parent 1c9351abf0
commit 72f984e3d3
2 changed files with 2 additions and 2 deletions

View file

@ -9,7 +9,7 @@ module Gitlab
def self.to_graph(project)
@repo = project.repo
commits = Grit::Commit.find_all(@repo, nil, {max_count: 650})
commits = Grit::Commit.find_all(@repo, nil, {max_count: 650}).dup
ref_cache = {}