mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-25 04:26:08 +10:00
Prevent grit from caching graph commits
This commit is contained in:
@@ -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 = {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user