Prevent grit from caching graph commits
This commit is contained in:
parent
1c9351abf0
commit
72f984e3d3
2 changed files with 2 additions and 2 deletions
|
@ -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 = {}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue